@plentymarkets/shop-api / deleteCart
Function: deleteCart() ​
deleteCart(
context
):Promise
<Data
<DeleteCartResponse
>>
Defined in: api/deleteCart/index.ts:18
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();