Skip to main content
POST
https://api-integration.ollang.com
/
integration
/
orders
/
{orderId}
/
rerun
curl -X POST "https://api-integration.ollang.com/integration/orders/60b8d6f1e1b9b1d8c6c0d8e1/rerun" \
  -H "X-Api-Key: <your-api-key>" \
  -H "Content-Type: application/json" \
  -d '{}'
{
  "success": true,
  "message": "Order rerun initiated successfully",
  "orderId": "60b8d6f1e1b9b1d8c6c0d8e1"
}
Rerun an existing order to regenerate the translation. This endpoint triggers a new translation process using the current AI models and any updated settings. The original order will be processed again, and the results will replace the previous translation.
curl -X POST "https://api-integration.ollang.com/integration/orders/60b8d6f1e1b9b1d8c6c0d8e1/rerun" \
  -H "X-Api-Key: <your-api-key>" \
  -H "Content-Type: application/json" \
  -d '{}'

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 rerun. The order must be in a completed or delivered state to be eligible for rerun.

Request Body

The request body is optional. You can send an empty object {} to rerun the order with default settings.

Response

success
boolean
required
Indicates whether the rerun was initiated successfully.
message
string
required
A message describing the result of the rerun request.
orderId
string
The ID of the order being rerun. This is the same as the input orderId.
{
  "success": true,
  "message": "Order rerun initiated successfully",
  "orderId": "60b8d6f1e1b9b1d8c6c0d8e1"
}