# Follow Up: Deprecation Update: DELETE /purchase\_order/

**URL:** <https://forums.ordoro.com/t/follow-up-deprecation-update-delete-purchase-order/810>\
**Category:** API Announcements\
**Tags:** breaking\_change, deprecation\
**Created:** [October 15, 2021, 10:22pm UTC](https://forums.ordoro.com/t/follow-up-deprecation-update-delete-purchase-order/810 "2021-10-15T22:22:10Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![sophie](https://yyz1.discourse-cdn.com/flex029/user_avatar/forums.ordoro.com/sophie/32/19_2.png) [@sophie](https://forums.ordoro.com/u/sophie)\
**Post date:** [October 15, 2021, 10:22pm UTC](https://forums.ordoro.com/t/follow-up-deprecation-update-delete-purchase-order/810/1 "2021-10-15T22:22:10Z")

</div>

`DELETE /purchase_order/` will soon be deprecated. Please use `POST /purchase_order/:po_id/cancel/` to cancel your purchase order

As a follow up to our previous post and reiteration:  
We are changing the way we cancel Purchase Orders in the API. Rather than setting a status for cancelled purchase orders, we will have a `cancelled_date` key serialized on the response.

## What this means:

### Deprecation is coming soon:

- You can now see `cancelled_date` in a purchase order response object.
- Currently, you will see both `cancelled_date` populated as well as `status=cancelled` on the purchase order from the API response.

### After Deprecation:

- On November 1st we will be deprecating the cancelled status on a purchase order response object.
- We will still include cancelled purchase orders in the `/purchase_order/count/` endpoint.
- You will still be able to filter on cancelled purchase orders.
- However, you will not see status=cancelled on a purchase\_order after November 1st.
- `POST /purchase_order/:po_id/uncancel/` will restore your PO to its pre-cancelled status, and then you may take action on it as needed.

After November 1st on a cancelled PO you will see `cancelled_date` populated with a date and the status of the purchase order before it was cancelled will remain.

Again, these changes are an effort to disallow accidental actions to be taken on a cancelled purchase order as well as being able to properly restore a purchase order from a cancelled state to its previous state.

You will need to use the new endpoint mentioned above in order to restore a cancelled Purchase Order, much like restoring an Order in the app.

[Original Deprecation Update regarding DELETE Purchase Order](https://forums.ordoro.com/t/upcoming-deprecation-and-api-change-delete-purchase-order/784)

---

<div class="post-metadata">

**Author:** ![sophie](https://yyz1.discourse-cdn.com/flex029/user_avatar/forums.ordoro.com/sophie/32/19_2.png) [@sophie](https://forums.ordoro.com/u/sophie)\
**Post date:** [October 15, 2021, 10:22pm UTC](https://forums.ordoro.com/t/follow-up-deprecation-update-delete-purchase-order/810/2 "2021-10-15T22:22:41Z")

</div>



---

<div class="post-metadata">

**Author:** ![sophie](https://yyz1.discourse-cdn.com/flex029/user_avatar/forums.ordoro.com/sophie/32/19_2.png) [@sophie](https://forums.ordoro.com/u/sophie)\
**Post date:** [October 15, 2021, 10:22pm UTC](https://forums.ordoro.com/t/follow-up-deprecation-update-delete-purchase-order/810/3 "2021-10-15T22:22:51Z")

</div>



---

<div class="post-metadata">

**Author:** ![sophie](https://yyz1.discourse-cdn.com/flex029/user_avatar/forums.ordoro.com/sophie/32/19_2.png) [@sophie](https://forums.ordoro.com/u/sophie)\
**Post date:** [November 17, 2021, 5:26pm UTC](https://forums.ordoro.com/t/follow-up-deprecation-update-delete-purchase-order/810/4 "2021-11-17T17:26:51Z")

</div>


