curl -X POST "https://api-integration.ollang.com/integration/orders/cancel/60b8d6f1e1b9b1d8c6c0d8e1" \ -H "X-Api-Key: <your-api-key>"
Copy
No content - Order cancelled successfully
Ollang API Reference
Cancel Order
Cancel an existing translation order that is no longer needed
POST
/
integration
/
orders
/
cancel
/
{orderId}
Copy
curl -X POST "https://api-integration.ollang.com/integration/orders/cancel/60b8d6f1e1b9b1d8c6c0d8e1" \ -H "X-Api-Key: <your-api-key>"
Copy
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.
Copy
curl -X POST "https://api-integration.ollang.com/integration/orders/cancel/60b8d6f1e1b9b1d8c6c0d8e1" \ -H "X-Api-Key: <your-api-key>"
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.
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.