Get product translation
Fetch one product translation.
Returns stored translated Product fields for one locale, including whether the translation is out of date. Allowed fields come from contract.translation.fields.
Path parameters
| Name | Type | Description |
|---|---|---|
id
required
|
integer |
Product id. |
locale
required
|
string |
Enabled non-default store locale. |
Headers
| Name | Type | Description |
|---|---|---|
Authorization
required
|
string |
Bearer Store API token. |
Errors
-
400TRANSLATION_INVALID_LOCALEThe locale is not enabled for the store.
-
400TRANSLATION_FIELD_NOT_ALLOWEDA field key is not in contract.translation.fields.
-
401UNAUTHORIZEDMissing or invalid token.
-
403STORE_ADMIN_TOKEN_RUNTIME_FORBIDDENThe token lacks a required scope.
-
404NOT_FOUNDProduct, variant, or locale not found.
Set product translation
Set one product translation.
Writes translated Product fields for one locale. Empty values clear the matching field translation. Validation (rune-count limits per field) is the same the admin translation editor runs.
Path parameters
| Name | Type | Description |
|---|---|---|
id
required
|
integer |
Product id. |
locale
required
|
string |
Enabled non-default store locale. |
Headers
| Name | Type | Description |
|---|---|---|
Authorization
required
|
string |
Bearer Store API token. |
Body parameters
| Name | Type | Description |
|---|---|---|
translations
required
|
object |
Field-keyed translation values. Allowed fields come from |
Errors
-
400TRANSLATION_INVALID_LOCALEThe locale is not enabled for the store.
-
400TRANSLATION_FIELD_NOT_ALLOWEDA field key is not in contract.translation.fields.
-
401UNAUTHORIZEDMissing or invalid token.
-
403STORE_ADMIN_TOKEN_RUNTIME_FORBIDDENThe token lacks a required scope.
-
404NOT_FOUNDProduct, variant, or locale not found.
Batch get product translations
Fetch product translations in batch.
Returns translated Product fields for multiple product ids in one locale.
Path parameters
| Name | Type | Description |
|---|---|---|
locale
required
|
string |
Enabled non-default store locale. |
Query parameters
| Name | Type | Description |
|---|---|---|
ids
required
|
string |
Comma-separated product ids. |
Headers
| Name | Type | Description |
|---|---|---|
Authorization
required
|
string |
Bearer Store API token. |
Errors
-
400TRANSLATION_INVALID_LOCALEThe locale is not enabled for the store.
-
400TRANSLATION_FIELD_NOT_ALLOWEDA field key is not in contract.translation.fields.
-
401UNAUTHORIZEDMissing or invalid token.
-
403STORE_ADMIN_TOKEN_RUNTIME_FORBIDDENThe token lacks a required scope.
-
404NOT_FOUNDProduct, variant, or locale not found.
Batch set product translations
Set product translations in batch.
Writes translated Product fields for multiple product ids in one locale. Either every row is written or, if any row is invalid, none are.
Path parameters
| Name | Type | Description |
|---|---|---|
locale
required
|
string |
Enabled non-default store locale. |
Headers
| Name | Type | Description |
|---|---|---|
Authorization
required
|
string |
Bearer Store API token. |
Body parameters
| Name | Type | Description |
|---|---|---|
translations
required
|
array<object> |
Rows with |
Errors
-
400TRANSLATION_INVALID_LOCALEThe locale is not enabled for the store.
-
400TRANSLATION_FIELD_NOT_ALLOWEDA field key is not in contract.translation.fields.
-
401UNAUTHORIZEDMissing or invalid token.
-
403STORE_ADMIN_TOKEN_RUNTIME_FORBIDDENThe token lacks a required scope.
-
404NOT_FOUNDProduct, variant, or locale not found.
Get variant translation
Fetch one variant translation.
Returns the stored translated variant title for one locale.
Path parameters
| Name | Type | Description |
|---|---|---|
id
required
|
integer |
Product ID. |
variantId
required
|
integer |
Variant ID. |
locale
required
|
string |
BCP-47 locale code, e.g. fr or pt-BR. |
Headers
| Name | Type | Description |
|---|---|---|
Authorization
required
|
string |
Bearer Store API token. |
Errors
-
400TRANSLATION_INVALID_LOCALEThe locale is not enabled for the store.
-
400TRANSLATION_FIELD_NOT_ALLOWEDA field key is not in contract.translation.fields.
-
401UNAUTHORIZEDMissing or invalid token.
-
403STORE_ADMIN_TOKEN_RUNTIME_FORBIDDENThe token lacks a required scope.
-
404NOT_FOUNDProduct, variant, or locale not found.
Set variant translation
Set one variant translation.
Writes the translated variant title for one locale. An empty value clears it.
Path parameters
| Name | Type | Description |
|---|---|---|
id
required
|
integer |
Product ID. |
variantId
required
|
integer |
Variant ID. |
locale
required
|
string |
BCP-47 locale code, e.g. fr or pt-BR. |
Headers
| Name | Type | Description |
|---|---|---|
Authorization
required
|
string |
Bearer Store API token. |
Body parameters
| Name | Type | Description |
|---|---|---|
translations
required
|
object |
Field-keyed translation values; variants translate |
Errors
-
400TRANSLATION_INVALID_LOCALEThe locale is not enabled for the store.
-
400TRANSLATION_FIELD_NOT_ALLOWEDA field key is not in contract.translation.fields.
-
401UNAUTHORIZEDMissing or invalid token.
-
403STORE_ADMIN_TOKEN_RUNTIME_FORBIDDENThe token lacks a required scope.
-
404NOT_FOUNDProduct, variant, or locale not found.