SDK
Explore our fully type-safe SDK for Node.js
delete all items from the cart.
curl --request DELETE \ --url https://staging.api.commercengine.io/api/v1/{store_id}/storefront/carts/{id} \ --header 'Authorization: Bearer <token>'
{ "message": "All cart items are removed.", "success": true }
Access token
Cart ID
OK
The response is of type object.
object