Authorizations
Order token to authorize Cart and Checkout requests.
Response
204 Success No Content Returned - Current Cart has been removed.
curl --request DELETE \
--url https://demo.spreecommerce.org/api/v2/storefront/cart \
--header 'X-Spree-Order-Token: <api-key>'This response does not have an example.Deletes a specified cart.
When this endpoint is successfully executed, all shipments are cancelled, payments are voided, then line items, shipments & payments are all deleted.
curl --request DELETE \
--url https://demo.spreecommerce.org/api/v2/storefront/cart \
--header 'X-Spree-Order-Token: <api-key>'This response does not have an example.Order token to authorize Cart and Checkout requests.
204 Success No Content Returned - Current Cart has been removed.
Was this page helpful?