Authorizations
This endpoint requires API key authentication. Include your API key in the request header:- Header name:
X-Api-Key
- Header value: Your API key from the Ollang dashboard
- Format:
X-Api-Key: your-api-key-here
Path Parameters
The unique identifier of the order you want to cancel. This should be a valid
order ID that you have access to and that is eligible for cancellation.
Important Notes
Order Cancellation is IrreversibleOnce an order is cancelled, it cannot be restored. Make sure you really want to cancel the order before making this request.
Cancellation EligibilityNot all orders can be cancelled. Orders that are already in progress, completed, or delivered typically cannot be cancelled. Only orders in
pending
or early ongoing
status are usually eligible for cancellation.