# Cancel Order

{% hint style="warning" %}
Order cancellation is in beta. Please report any errors to Violet.
{% endhint %}

Cancel a complete `Order`. This action will attempt to cancel the external order in the merchants system for every `Bag` in the `Order`. The total amount paid for each `Bag` will be refunded to the shopper upon successful cancellation.

{% hint style="info" %}
All `Bag`'s must be in a cancellable state. If any `Bag` has a status of `IN_PROGRESS`, `REFUNDED`, or `CANCELED` the request will be rejected.
{% 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="/orders/{order\_id}/cancel" method="post" 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 %}
