v4
OpenAPI 3.1.02026-07-313621,3961.8 MBproductions
Upsert Order Item
Adds or updates an order item on an open order. Returns the item ID and the quoted price.
post/v1/productions/orders/{order_id}/items
Path parameters
order_idstring required
The ID of the order.
Headers
xi-api-keystring nullable
Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website.
Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website.
Request body
Example request
{
"request": {
"item": {
"captions_sdh": false,
"destination_languages": [
"hi",
"fr-FR",
"de"
],
"include_captions": true,
"include_source_captions": false,
"instructions": "Voices don't need to match the originals, prioritize native-sounding voices",
"kind": "dub",
"media_id": "prodmedia_01jgatk6h0fwxrtbjade61yqhx",
"source_language": "en"
}
}
}Response
Successful Response
Example response
{
"item_id": "proditem_01jgd3qhejfs7rm6swknz2ytjb",
"quote": {
"amount_usd": 11
}
}