# Cancel an order

**URL:** <https://developer-forum.veeqo.com/t/cancel-an-order/163>\
**Category:** API Queries (How To)\
**Created:** [April 16, 2019, 11:15pm UTC](https://developer-forum.veeqo.com/t/cancel-an-order/163 "2019-04-16T23:15:40Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![neo\_kit](https://avatars.discourse-cdn.com/v4/letter/n/9B8BFF/32.png) [@neo\_kit](https://developer-forum.veeqo.com/u/neo_kit)\
**Post date:** [April 16, 2019, 11:15pm UTC](https://developer-forum.veeqo.com/t/cancel-an-order/163/1 "2019-04-16T23:15:40Z")

</div>

Is it possible to cancel or update the status of an order using API?

Thank you.

---

<div class="post-metadata">

**Author:** ![calum](https://avatars.discourse-cdn.com/v4/letter/c/E1E7EE/32.png) [@calum](https://developer-forum.veeqo.com/u/calum)\
**Post date:** [April 24, 2019, 10:44am UTC](https://developer-forum.veeqo.com/t/cancel-an-order/163/2 "2019-04-24T10:44:25Z")

</div>

Hey there,

It’s not possible to directly update the status but you can move the order through the status’ by updating the relevant information. If you add a payment or shipment this will move the order through automatically. Unfortunately, it’s not possible to cancel an order via the API

---

<div class="post-metadata">

**Author:** ![jamestoothill](https://avatars.discourse-cdn.com/v4/letter/j/232F3E/32.png) [@jamestoothill](https://developer-forum.veeqo.com/u/jamestoothill)\
**Post date:** [December 20, 2019, 8:48pm UTC](https://developer-forum.veeqo.com/t/cancel-an-order/163/3 "2019-12-20T20:48:55Z")

</div>

It’s completely undocumented (please document veeqo 🙂 ), but it is actually possible…

If you “PUT” to the `https://api.veeqo.com/orders/<ORDERID>/cancel` endpoint with an empty body it will cancel the order, I believe shipped orders (obviously?) can’t be marked as cancelled.

---

<div class="post-metadata">

**Author:** ![purecigs](https://yyz1.discourse-cdn.com/flex033/user_avatar/developer-forum.veeqo.com/purecigs/32/74_2.png) [@purecigs](https://developer-forum.veeqo.com/u/purecigs)\
**Post date:** [November 14, 2020, 12:02pm UTC](https://developer-forum.veeqo.com/t/cancel-an-order/163/4 "2020-11-14T12:02:30Z")

</div>

does that delete the order, or is it still there with a “canceled” status visible somewhere?

---

<div class="post-metadata">

**Author:** ![jamestoothill](https://avatars.discourse-cdn.com/v4/letter/j/232F3E/32.png) [@jamestoothill](https://developer-forum.veeqo.com/u/jamestoothill)\
**Post date:** [November 14, 2020, 12:37pm UTC](https://developer-forum.veeqo.com/t/cancel-an-order/163/5 "2020-11-14T12:37:32Z")

</div>

It’s been a little while since I’ve looked at Veeqo, but I believe there is a cancelled status and way of viewing cancelled order yes…

A warning that once cancelled, you can’t restore the order, you can however (I believe) duplicate an order and then process the new duplicate as required…
