Delete Cart Items
A shopper can clean up their cart, deleting custom items, promotions, and so on, while the empty cart remains available. The cart id, name, description and any customer associations persist. The shopper can continue to add items to the cart.
DELETE Cart Items
|Required||A custom reference for this cart created by you.|
|Required||The Bearer token required to get access to the API.|
curl -X DELETE https://api.moltin.com/v2/carts/:cartID/items \ -H "Authorization: Bearer XXXX"
const reference = "XXXX"; // Where `EPCC` is an authenticated client await EPCC.Cart(reference).Delete();
204 No Content