@plentymarkets/shop-api / deleteCart
Function: deleteCart() ​
deleteCart(
context
):Promise
<Data
<DeleteCartResponse
>>
Method deleteCart - Deletes the complete cart.
Parameters ​
• context: PlentysystemsIntegrationContext
Returns ​
Promise
<Data
<DeleteCartResponse
>>
Remarks ​
- Calls /rest/storefront/cart/
- This method is used to delete the complete cart.
Example ​
ts
const { data } = await useSdk().plentysystems.deleteCart();