Get blog post translation
Fetch one blog post translation.
Returns stored translated Blog Post fields for one locale, including whether the translation is out of date.
Path parameters
| Name | Type | Description |
|---|---|---|
id
required
|
uuid |
Blog Post 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 Blog Posts.
-
404BLOG_POST_NOT_FOUNDBlog Post does not exist in this store.
Set blog post translation
Set one blog post translation.
Writes translated Blog Post fields for one locale. Empty values clear the matching field translation.
Path parameters
| Name | Type | Description |
|---|---|---|
id
required
|
uuid |
Blog Post 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 Blog Posts.
-
404BLOG_POST_NOT_FOUNDBlog Post does not exist in this store.
Batch get blog post translations
Fetch blog post translations in batch.
Returns translated Blog Post fields for multiple post 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 Blog Post 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 Blog Posts.
-
404BLOG_POST_NOT_FOUNDBlog Post does not exist in this store.
Batch set blog post translations
Set blog post translations in batch.
Writes translated Blog Post fields for multiple post 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 Blog Posts.
-
404BLOG_POST_NOT_FOUNDBlog Post does not exist in this store.