openapi
//
Delete an order
Delete the order. To keep the order history, cancel the order instead of deleting it.
Security
OAuth2(Required scopes: orders:write)
- Mock serverhttps://cafe.redocly.com/_mock/openapi/cafe/orders/{orderId}
- Live server.https://api.cafe.redocly.com/orders/{orderId}
curl -i -X DELETE \
https://cafe.redocly.com/_mock/openapi/cafe/orders/ord_01h1s5z6vf2mm1mz3hevnn9va7 \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'