Delete a Purchase Order : /purchase-orders/{purchase_order_id}
DELETE
https://dev-api.exsited.com/api/v3/purchase-orders/{purchase_order_id}
Try It Out
Purpose
This endpoint is used to permanently delete a purchase order from the system. Once deleted, the purchase order and its associated data are no longer accessible via the API or UI.
Use Case
A user may create a purchase order by mistake or during testing. If the purchase order has no dependencies (example: it hasn't been used in receiving, invoicing, or reporting), it can be deleted to keep the system clean and prevent confusion or clutter in records.
Path Parameters
| Parameter | Type | Description |
|---|---|---|
| purchase_order_id | string | Unique identifier of the purchase order to delete. |
Query Parameters
No query parameters required for this endpoint.
Request Body
No request body is required for this endpoint.
Response
This endpoint does not return a response body. Upon successful execution, the purchase order is deleted and an HTTP 204 No Content status code is returned.