The cancel purchase order endpoint in your API docs returns an error that it is deprecated and to POST to /purchase_order/:po_id/cancel/ instead. Should update the docs.
sophie
January 3, 2023, 8:11pm
2
Thank you,
We made a couple of posts about this here in the forum, and will update the docs.
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 wil…