Delete Cart

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 action or recover this Cart.

circle-info

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.

Delete Cart

delete
Path parameters
cart_idinteger · int64Required
Header parameters
X-Violet-TokenstringRequired
X-Violet-App-SecretstringRequired
X-Violet-App-Idinteger · int32Required
Responses
delete
/checkout/cart/{cart_id}

Last updated

Was this helpful?