This endpoint allows you to delete an order from your system. Once deleted, the order cannot be recovered.
Send a DELETE request to the orders endpoint with the order ID in the URL path:
DELETE /api/orders/98/
This request will delete the order with ID 98 from your system.
Status Code | Description |
---|---|
204 No Content |
The order has been deleted successfully. |
400 Bad Request |
The order couldn't be deleted (e.g., it's linked to other records). |
404 Not Found |
The specified order doesn't exist. |