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.
Examples:
Order ID
ord_01h1s5z6vf2mm1mz3hevnn9va7
curl -i -X DELETE \
  https://rp-intranet.lab1.blueharvest.cloud/_mock/openapi/orders/ord_01h1s5z6vf2mm1mz3hevnn9va7 \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

Order deleted successfully.
Response
No content