DELETE
/
checkout
/
cart
/
{cart_id}

Delete a Cart in Violet given the cart_id. This cart will also be deleted in any underlying e-commerce platforms. You cannot undo this item or recover this Cart.

Be careful using batched calls to this endpoint, you can very easily hit rate limits as this calls out to e-commerce platforms to clean up carts in the merchant’s stores too.

Violet recommends deleting carts with the same merchant (one merchant per bag) one at a time and relatively slowly with making sure to handle 429 rate limit responses appropriately.

Headers

X-Violet-Token
string
X-Violet-App-Secret
string
X-Violet-App-Id
integer

Path Parameters

cart_id
integer
required

Response

default - application/json

The response is of type any.