Delete an Order

Overview

This endpoint allows you to delete an order from your system. Once deleted, the order cannot be recovered.

DELETE /api/orders/{order_id}/

Request Format

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.

Caution: Deleting an order is permanent and cannot be undone. Make sure you have backed up any necessary information before proceeding.

Response Format

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.