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