# 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`.

{% hint style="info" %}
Be careful using batched calls to this endpoint, you can very easily hit [rate limits](https://app.gitbook.com/s/ZrOgj5n6PuU2r0Ya8Tzl/concepts/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](https://app.gitbook.com/s/ZrOgj5n6PuU2r0Ya8Tzl/concepts/rate-limits) responses appropriately.
{% endhint %}

{% openapi src="<https://3937396275-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8lXIp71Ct5qCUhXjko2q%2Fuploads%2Fgit-blob-8ab007712b2fb1063fba6d0d5fac84738eef8644%2Forder-service.yaml?alt=media>" path="/checkout/cart/{cart\_id}" method="delete" expanded="true" %}
[order-service.yaml](https://3937396275-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8lXIp71Ct5qCUhXjko2q%2Fuploads%2Fgit-blob-8ab007712b2fb1063fba6d0d5fac84738eef8644%2Forder-service.yaml?alt=media)
{% endopenapi %}
