Get page translation
Fetch one page translation.
Returns stored translated Page fields for one locale, including whether the translation is out of date.
Path parameters
| Name | Type | Description |
|---|---|---|
id
required
|
uuid |
Page id. |
locale
required
|
string |
Enabled non-default store locale. |
Headers
| Name | Type | Description |
|---|---|---|
Authorization
required
|
string |
Bearer Store API token. |
Errors
-
400TRANSLATION_INVALID_LOCALELocale is not enabled or is the default locale.
-
400TRANSLATION_INVALID_FIELDField is not translatable for Pages.
-
404TRANSLATION_RESOURCE_NOT_FOUNDPage does not exist in this store.
Set page translation
Set one page translation.
Writes translated Page fields for one locale. Empty values clear the matching field translation.
Path parameters
| Name | Type | Description |
|---|---|---|
id
required
|
uuid |
Page 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_LOCALELocale is not enabled or is the default locale.
-
400TRANSLATION_INVALID_FIELDField is not translatable for Pages.
-
404TRANSLATION_RESOURCE_NOT_FOUNDPage does not exist in this store.
Batch get page translations
Fetch page translations in batch.
Returns translated Page fields for multiple page 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 Page ids. |
Headers
| Name | Type | Description |
|---|---|---|
Authorization
required
|
string |
Bearer Store API token. |
Errors
-
400TRANSLATION_INVALID_LOCALELocale is not enabled or is the default locale.
-
400TRANSLATION_INVALID_FIELDField is not translatable for Pages.
-
404TRANSLATION_RESOURCE_NOT_FOUNDPage does not exist in this store.
Batch set page translations
Set page translations in batch.
Writes translated Page fields for multiple page 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_LOCALELocale is not enabled or is the default locale.
-
400TRANSLATION_INVALID_FIELDField is not translatable for Pages.
-
404TRANSLATION_RESOURCE_NOT_FOUNDPage does not exist in this store.