Use this endpoint to permanently delete an order. Deletion is only available for orders in new status — orders that have been picked up, are in transit, or have reached any other status must go through the cancel flow instead.
Only orders with status new can be deleted. If the order is in any other status, use POST /orders/{orderId}/cancel instead. Deletion is permanent and cannot be undone.
Authentication
Path parameter
When to delete vs. cancel
Request
This endpoint requires no request body.
Response
200 — Order deleted
Error responses
400 — Order cannot be deleted
If the order’s status is anything other than new, the API returns a descriptive error: