Delete a draft order. Requires orders.delete permission.
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
id |
string | yes | The unique identifier of the record |
Responses
| Status | Description |
|---|---|
| 204 | The order was deleted successfully |
| 403 | The requesting user lacks appropriate permissions |
| 404 | The order was not found |
| 422 | The order cannot be deleted (not in draft status) |