Deletes the cart.
1 min
DELETE
/episerverapi/commerce/carts/{customerId}/{cartName}
customerIdstring<uuid>The customer Id.
cartNamestring<p>Cart name - usually "Default" or "Wishlist".</p>
acceptstringGenerated from available response content types
200The cart is deleted.
401If user does not have enough permission for this request.
404If cart does not exist.
501Serializable carts feature is enabled and that feature is not supported here.
curl --request DELETE \
--url /episerverapi/commerce/carts/{customerId}/{cartName} \
--header 'accept: text/plain'