cURL
curl --request DELETE \ --url https://api.cravejs.com/api/v1/locations/{locationId}/carts/{cartId} \ --header 'X-API-Key: <api-key>'
{ "success": true }
Deletes a cart by its ID from a specific location.
The unique identifier for the restaurant location
The ID of the cart to delete.
Cart deleted successfully.
The response is of type object.
object