cURL
curl --request DELETE \ --url https://api.decodahealth.com/inventory/purchase-orders/{id} \ --header 'API-KEY: <api-key>' \ --header 'TENANT: <tenant>'
{}
Archive a purchase order. Only COMPLETED or CANCELLED orders can be archived.
The tenant you are making this request on behalf of
Your api key
Successful Response
The response is of type Response Archive Purchase Order Inventory Purchase Orders Id Delete · object.
Response Archive Purchase Order Inventory Purchase Orders Id Delete · object