Skip to main content

Delete Order

API operation: Open the endpoint in Scalar

Use DELETE /orders/{order} to delete an order. The operation documented here is Order.delete.

Parameter: {order} is the integer order ID in the route.

The documented schema requires administrator authentication. Confirm that your account has permission before sending this destructive request. Deletion is destructive and can close logistics, assignment, driver, group, and review state. Confirm the order and dependent workflows before use.

const response = await ordering.orders(orderId).delete();

This SDK syntax is historical. Confirm the package and version before using it.

OpenAPI reference​

Operation: DELETE /orders/{order}

Path parameters

NameTypeRequiredDescription
orderintegerYes—

Responses

CodeDescription
200OK (Envelope)
400Bad Request (ErrorResponse)
401Unauthorized
404Not Found
429Too Many Requests (ErrorResponse)
500Internal Server Error (ErrorResponse)
503Service Unavailable (ErrorResponse)
Open this operation in the API reference