Get blog category translation
Fetch one blog category translation.
Returns stored translated Blog Category fields for one locale, including whether the translation is out of date.
Path parameters
| Name | Type | Description |
|---|---|---|
id
required
|
uuid |
Blog Category id. |
locale
required
|
string |
Enabled non-default store locale. |
Headers
| Name | Type | Description |
|---|---|---|
Authorization
required
|
string |
Bearer Store API token. |
Errors
-
400STORE_API_INVALID_CATEGORY_IDBlog Category id is not a valid UUID.
-
400TRANSLATION_LOCALE_REQUIREDlocale is required.
-
400TRANSLATION_LOCALE_NOT_ENABLEDLocale is not enabled for this store.
-
400TRANSLATION_DEFAULT_LOCALE_FORBIDDENTranslations cannot target the store's default locale.
-
400TRANSLATION_FIELD_NOT_TRANSLATABLEField is not translatable for Blog Categories.
-
400TRANSLATION_FIELDS_REQUIREDAt least one translated field is required.
-
400TRANSLATION_FIELD_VALUE_TOO_LONGA translated value exceeds its field limit.
-
400TRANSLATION_INVALID_RESOURCE_IDBlog Category id is invalid.
-
400TRANSLATION_TOO_MANY_RESOURCESThe request exceeds the translation batch resource cap.
-
404TRANSLATION_RESOURCE_NOT_FOUNDBlog Category does not exist in this store.
-
409TRANSLATION_DUPLICATE_NAME_OR_SLUGTranslated name or slug conflicts with another blog category.
Set blog category translation
Set one blog category translation.
Writes translated Blog Category fields for one locale. Empty values clear the matching field translation.
Path parameters
| Name | Type | Description |
|---|---|---|
id
required
|
uuid |
Blog Category 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
-
400STORE_API_INVALID_CATEGORY_IDBlog Category id is not a valid UUID.
-
400STORE_API_INVALID_REQUEST_BODYRequest body is not valid JSON.
-
400TRANSLATION_LOCALE_REQUIREDlocale is required.
-
400TRANSLATION_LOCALE_NOT_ENABLEDLocale is not enabled for this store.
-
400TRANSLATION_DEFAULT_LOCALE_FORBIDDENTranslations cannot target the store's default locale.
-
400TRANSLATION_FIELD_NOT_TRANSLATABLEField is not translatable for Blog Categories.
-
400TRANSLATION_FIELDS_REQUIREDAt least one translated field is required.
-
400TRANSLATION_FIELD_VALUE_TOO_LONGA translated value exceeds its field limit.
-
400TRANSLATION_INVALID_RESOURCE_IDBlog Category id is invalid.
-
400TRANSLATION_TOO_MANY_RESOURCESThe request exceeds the translation batch resource cap.
-
404TRANSLATION_RESOURCE_NOT_FOUNDBlog Category does not exist in this store.
-
409TRANSLATION_DUPLICATE_NAME_OR_SLUGTranslated name or slug conflicts with another blog category.
Batch get blog category translations
Fetch blog category translations in batch.
Returns translated Blog Category fields for multiple category 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 Category ids. |
Headers
| Name | Type | Description |
|---|---|---|
Authorization
required
|
string |
Bearer Store API token. |
Errors
-
400TRANSLATION_LOCALE_REQUIREDlocale is required.
-
400TRANSLATION_LOCALE_NOT_ENABLEDLocale is not enabled for this store.
-
400TRANSLATION_DEFAULT_LOCALE_FORBIDDENTranslations cannot target the store's default locale.
-
400TRANSLATION_FIELD_NOT_TRANSLATABLEField is not translatable for Blog Categories.
-
400TRANSLATION_FIELDS_REQUIREDAt least one translated field is required.
-
400TRANSLATION_FIELD_VALUE_TOO_LONGA translated value exceeds its field limit.
-
400TRANSLATION_INVALID_RESOURCE_IDBlog Category id is invalid.
-
400TRANSLATION_TOO_MANY_RESOURCESThe request exceeds the translation batch resource cap.
-
404TRANSLATION_RESOURCE_NOT_FOUNDBlog Category does not exist in this store.
-
409TRANSLATION_DUPLICATE_NAME_OR_SLUGTranslated name or slug conflicts with another blog category.
Batch set blog category translations
Set blog category translations in batch.
Writes translated Blog Category fields for multiple category 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
-
400STORE_API_INVALID_REQUEST_BODYRequest body is not valid JSON.
-
400STORE_API_INVALID_CATEGORY_IDOne category id is not a valid UUID.
-
400TRANSLATION_LOCALE_REQUIREDlocale is required.
-
400TRANSLATION_LOCALE_NOT_ENABLEDLocale is not enabled for this store.
-
400TRANSLATION_DEFAULT_LOCALE_FORBIDDENTranslations cannot target the store's default locale.
-
400TRANSLATION_FIELD_NOT_TRANSLATABLEField is not translatable for Blog Categories.
-
400TRANSLATION_FIELDS_REQUIREDAt least one translated field is required.
-
400TRANSLATION_FIELD_VALUE_TOO_LONGA translated value exceeds its field limit.
-
400TRANSLATION_INVALID_RESOURCE_IDBlog Category id is invalid.
-
400TRANSLATION_TOO_MANY_RESOURCESThe request exceeds the translation batch resource cap.
-
404TRANSLATION_RESOURCE_NOT_FOUNDBlog Category does not exist in this store.
-
409TRANSLATION_DUPLICATE_NAME_OR_SLUGTranslated name or slug conflicts with another blog category.