@plentymarkets/shop-api / deleteAllCartItems
Function: deleteAllCartItems() ​
Defined in: api/deleteAllCartItems/index.ts:17
Method deleteAllCartItems - deletes all items from the cart
Parameters ​
context ​
PlentysystemsIntegrationContext
Returns ​
Remarks ​
Calls /rest/storefront/cart/all_items
Example ​
ts
const { data } = await useSdk().plentysystems.deleteAllCartItems();