Delete a Cart

You can easily remove all items from a cart.

Delete cart by Reference

DELETE https://api.moltin.com/v2/carts/:reference

Path Parameters

NameTypeDescription

reference

string

A custom reference for this cart created by you

Headers

NameTypeDescription

Authorization

string

The Bearer token to grant access to the API

curl -X DELETE https://api.moltin.com/v2/carts/:reference \
     -H "Authorization: Bearer XXXX"

Last updated