v1
latestOpenAPI 3.1.02026-07-2665153355.3 KBLocalization
Sets translation content for translatable fields.
Use this API to add new translations or update existing ones as needed.
The request payload has a maximum size of 100 KB.
post/v1/translations
Headers
x-publisher-tokenstring required
The publisher token
Request body
Example request
{
"dynamicTranslations": [
{
"type": "section",
"externalId": "my-bundle-1",
"field": "description",
"locale": "es-ES",
"value": "Hola!"
}
],
"staticTranslations": [
{
"key": "checkout.pay_button",
"locale": "es-ES",
"value": "Zapłać teraz"
}
]
}Response
Translations retrieved successfully.
Example response
{
"dynamicTranslations": [
{
"type": "section",
"externalId": "my-bundle-1",
"field": "description",
"locale": "es-ES",
"value": "Hola!"
}
],
"staticTranslations": [
{
"key": "checkout.pay_button",
"locale": "es-ES",
"value": "Zapłać teraz"
}
]
}