Skip to content

Delete an order

Request

Delete the order. To keep the order history, cancel the order instead of deleting it.

Security
OAuth2(Required scopes: orders:write)
Path
orderIdstring^ord_[0-9abcdefghjkmnpqrstvwxyz]{26}$required

ID of the order to retrieve.

Example:ord_01h1s5z6vf2mm1mz3hevnn9va7
curl -i -X DELETE \
  https://cafe.redocly.com/_mock/openapi/cafe/orders/ord_01h1s5z6vf2mm1mz3hevnn9va7 \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

Order deleted successfully.

Response
No content