You can delete a cart, including the items, name, description, and remove all associations.
DELETE Delete cart by Reference
|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/:reference \ -H "Authorization: Bearer XXXX"
const reference = "XXXX"; // Where `EPCC` is an authenticated client await EPCC.Cart(reference).Delete();
204 No Content