@plentymarkets/shop-api / deleteCartItem
Function: deleteCartItem() ​
Method deleteCartItem - deletes a cart item from the cart.
Parameters ​
• context: PlentysystemsIntegrationContext
• params: DeleteCartItemParams
Returns ​
Remarks ​
- Calls /rest/storefront/cart/items/${params.cartItemId}/
- This method deletes a cart item from the cart.
Example ​
ts
const { data } = await useSdk().plentysystems.deleteCartItem({ cartItemId: 6682 });