POST
/
integration
/
orders
/
cancel
/
{orderId}
curl -X POST "https://api-integration.ollang.com/integration/orders/cancel/60b8d6f1e1b9b1d8c6c0d8e1" \
  -H "X-Api-Key: <your-api-key>"
No content - Order cancelled successfully
Cancel an existing translation order that is no longer needed. This action is typically irreversible, so use it carefully. Only orders in certain statuses can be cancelled.
curl -X POST "https://api-integration.ollang.com/integration/orders/cancel/60b8d6f1e1b9b1d8c6c0d8e1" \
  -H "X-Api-Key: <your-api-key>"

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
You can obtain your API key from your Ollang dashboard.

Path Parameters

orderId
string
required
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.

Response

This endpoint returns no content on successful cancellation (HTTP 204 status code). The absence of an error response indicates that the order was successfully cancelled.
No content - Order cancelled successfully