Attribute and attribute option translations

Read and write attribute and option translations through the Store API.

Translate an attribute's name and description, or an option's label, for an enabled non-default locale. Reads return stored translations only; an existing resource with no translations returns an empty fields object. Batch reads return a resources entry for each requested ID; batch writes save each row on its own and return one result per row.

An attribute's slug and an option's value are not translated: links and filter keys use them to identify the attribute and option, so they stay the same in every language. Product pages, product cards, the cart and channel feeds show translated attribute names and option labels, and variant titles built from options use the translated labels. Use the Attributes endpoints to read source values. Translation reads require read_products and read_translations; writes require write_products and write_translations.

Get attribute translation

GET read_products + read_translations

Fetch one attribute translation.

Returns stored translated attribute fields for one locale, including whether the translation is out of date. Attribute translations cover name and description; option labels use the Attribute Option translation endpoints. Fields without a translation in this locale are omitted from the response. An omitted field is not empty: shoppers see the store's base-language value, which the resource's own GET endpoint returns.

Path parameters

Name Type Description
id required integer

Attribute id.

Example: 7
locale required string

Enabled non-default store locale.

Example: fr

Headers

Name Type Description
Authorization required string

Bearer Store API token.

Errors

  • 401 UNAUTHORIZED

    The Authorization header is missing.

  • 401 INVALID_TOKEN

    The Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.

  • 401 TOKEN_NOT_ACCEPTED

    The token is unknown, expired, revoked or replaced, or its app was uninstalled.

  • 402 SUBSCRIPTION_REQUIRED

    The store does not have an active or trialing subscription.

  • 403 API_VERSION_UNSUPPORTED

    The credential is pinned to an API version that cannot be served.

  • 403 STORE_SUSPENDED

    Tringify has suspended the store. Every request is refused until it is reinstated.

  • 403 STORE_TERMINATED

    Tringify has terminated the store permanently. Every request is refused.

  • 400 STORE_API_INVALID_ATTRIBUTE_ID

    Attribute id must be an integer.

  • 400 TRANSLATION_LOCALE_NOT_ENABLED

    Locale is not enabled for this store.

  • 400 TRANSLATION_DEFAULT_LOCALE_FORBIDDEN

    The default language stores source values and cannot be used as a translation locale.

  • 400 TRANSLATION_RESOURCE_ID_NOT_IN_STORE

    The attribute id does not exist in this store.

  • 400 STORE_API_QUERY_PARAMETER_UNKNOWN

    The request has a query parameter; this endpoint takes none.

  • 429 RATE_LIMITED

    The request allowance is exhausted. Wait for Retry-After before retrying.

Set attribute translation

PUT write_products + write_translations

Set one attribute translation.

Writes translated attribute fields for one locale. Empty values clear the matching field translation. A translated attribute name must be unique, ignoring case, among the attribute names shown in that language: another attribute's translation there, or its source name where it has none. Only a changed name is checked, so a translation saved before this rule that equals another attribute's name keeps saving unchanged. A write waits at most 2 seconds for other translation writes of the same item or of a clashing name or slug (for example a translation CSV import writing the same language); writes of other items, types and languages never wait. A row or call that fails with TRANSLATION_WRITE_BUSY (HTTP 503) saved nothing: send it again after error.details.retry_after_seconds (the call's Retry-After header says the same). Every row or call either saved or reports an error; none is left in an unknown state.

Path parameters

Name Type Description
id required integer

Attribute id.

Example: 7
locale required string

Enabled non-default store locale.

Example: fr

Headers

Name Type Description
Authorization required string

Bearer Store API token.

Idempotency-Key string

Optional key for this translation write. Reuse it only with the same payload when repeating the request.

Body parameters

Name Type Description
translations required object

Field-keyed translation values. Allowed fields: name, description.

Example: {"name": "Couleur", "description": "Choix de couleur."}

Errors

  • 401 UNAUTHORIZED

    The Authorization header is missing.

  • 401 INVALID_TOKEN

    The Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.

  • 401 TOKEN_NOT_ACCEPTED

    The token is unknown, expired, revoked or replaced, or its app was uninstalled.

  • 402 SUBSCRIPTION_REQUIRED

    The store does not have an active or trialing subscription.

  • 403 API_VERSION_UNSUPPORTED

    The credential is pinned to an API version that cannot be served.

  • 403 STORE_SUSPENDED

    Tringify has suspended the store. Every request is refused until it is reinstated.

  • 403 STORE_TERMINATED

    Tringify has terminated the store permanently. Every request is refused.

  • 400 STORE_API_INVALID_ATTRIBUTE_ID

    Attribute id must be an integer.

  • 400 STORE_API_INVALID_REQUEST_BODY

    Request body must be a JSON object containing only documented fields; error.details.field identifies an unknown field.

  • 400 TRANSLATION_LOCALE_NOT_ENABLED

    Locale is not enabled for this store.

  • 400 TRANSLATION_DEFAULT_LOCALE_FORBIDDEN

    The default language stores source values and cannot be used as a translation locale.

  • 400 TRANSLATION_RESOURCE_ID_NOT_IN_STORE

    The attribute id does not exist in this store.

  • 400 TRANSLATION_FIELD_NOT_TRANSLATABLE

    The supplied field is not translatable for this resource.

  • 400 TRANSLATION_FIELDS_REQUIRED

    A translation row contains no fields.

  • 400 TRANSLATION_FIELD_VALUE_TOO_LONG

    A translated value exceeds the configured length limit.

  • 400 TRANSLATION_FIELD_EXCEEDS_BYTE_LIMIT

    A translated value exceeds its field-specific length limit.

  • 400 TRANSLATION_STAGING_INVALID_CONTROL_CHARS

    A translated value contains a forbidden control character.

  • 409 ATTRIBUTE_DUPLICATE

    The translated name is, ignoring case, the name another attribute shows in that language: its translation there, or its source name where it has none. Clearing a translation is refused the same way when the source name it brings back is taken. error.details.existing_id is the attribute that holds it.

  • 503 TRANSLATION_WRITE_BUSY

    Other translation writes held the item or a clashing name or slug for more than 2 seconds; nothing was saved. Send the request again after error.details.retry_after_seconds (also the Retry-After header).

  • 400 STORE_API_BODY_PROPERTY_UNKNOWN

    The body has a property this request does not accept. The message and error.details.properties list the allowed and required properties (nested for each object or list of objects).

  • 400 STORE_API_BODY_PROPERTY_INVALID

    A body property has the wrong type (error.details.expected_type). The message and error.details.properties list the allowed and required properties.

  • 400 STORE_API_QUERY_PARAMETER_UNKNOWN

    The request has a query parameter; this endpoint takes none.

  • 429 RATE_LIMITED

    The request allowance is exhausted. Wait for Retry-After before retrying.

Batch get attribute translations

GET read_products + read_translations

Fetch attribute translations in batch.

Returns one resources entry per requested attribute id. An existing attribute without stored translations has an empty field map; an unknown id fails the request. Fields without a translation in this locale are omitted from the response. An omitted field is not empty: shoppers see the store's base-language value, which the resource's own GET endpoint returns.

Path parameters

Name Type Description
locale required string

Enabled non-default store locale.

Example: fr

Query parameters

Name Type Description
ids required string

Comma-separated attribute ids.

Example: 7,8,9

Headers

Name Type Description
Authorization required string

Bearer Store API token.

Errors

  • 401 UNAUTHORIZED

    The Authorization header is missing.

  • 401 INVALID_TOKEN

    The Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.

  • 401 TOKEN_NOT_ACCEPTED

    The token is unknown, expired, revoked or replaced, or its app was uninstalled.

  • 402 SUBSCRIPTION_REQUIRED

    The store does not have an active or trialing subscription.

  • 403 API_VERSION_UNSUPPORTED

    The credential is pinned to an API version that cannot be served.

  • 403 STORE_SUSPENDED

    Tringify has suspended the store. Every request is refused until it is reinstated.

  • 403 STORE_TERMINATED

    Tringify has terminated the store permanently. Every request is refused.

  • 400 TRANSLATION_LOCALE_NOT_ENABLED

    Locale is not enabled for this store.

  • 400 TRANSLATION_DEFAULT_LOCALE_FORBIDDEN

    The default language stores source values and cannot be used as a translation locale.

  • 400 TRANSLATION_RESOURCE_ID_NOT_IN_STORE

    The attribute id does not exist in this store.

  • 400 TRANSLATION_RESOURCE_ID_REQUIRED

    ids is missing or names no attribute.

  • 400 TRANSLATION_INVALID_RESOURCE_ID

    An id is not a positive integer.

  • 400 TRANSLATION_TOO_MANY_RESOURCES

    The request exceeds the translation batch resource cap.

  • 400 STORE_API_QUERY_PARAMETER_UNKNOWN

    The query string has a parameter this request does not accept. The message and error.details.allowed_parameters list the ones it does.

  • 429 RATE_LIMITED

    The request allowance is exhausted. Wait for Retry-After before retrying.

Batch set attribute translations

PUT write_products + write_translations

Set attribute translations for any languages in one call.

Each row is one attribute in one language: id, locale (any enabled non-default store locale) and fields. Rows for several languages can be mixed in one call; send at most 100 rows (one row = one attribute in one locale) and at most one row per attribute and locale. Each row is saved on its own: a failing row never stops the others. Empty values clear the matching field translation; omitted fields keep their translation. Every row is validated exactly like the single translation endpoint. The response has totals (rows, saved, failed) and one results entry per row in request order: {id, locale, status} with status saved or failed. A failed row carries the full error (code, message, details); its codes are the single endpoint's codes plus TRANSLATION_ROW_DUPLICATE. A saved rich-text row whose unsafe markup was removed lists warnings. A top-level code and message give the outcome: TRANSLATIONS_SAVED (200, every row saved), TRANSLATIONS_PARTIALLY_SAVED (200, success: true; the message counts saved and failed rows and names the failure reasons, e.g. "2 saved, 1 failed. No source text found for the requested fields (description).") TRANSLATIONS_NOT_SAVED_RETRY (503 with a Retry-After header, success: false; no row saved because every row failed only with TRANSLATION_WRITE_BUSY, so the same call can be sent again after error.details.retry_after_seconds) or TRANSLATIONS_NOT_SAVED (422, success: false; no row saved and at least one row failed for another reason). Both carry the same totals and results in error.details. With an Idempotency-Key, repeating the same request re-applies nothing that already saved and retries the failed rows. A translated attribute name must be unique, ignoring case, among the attribute names shown in that language: another attribute's translation there, or its source name where it has none. Only a changed name is checked, so a translation saved before this rule that equals another attribute's name keeps saving unchanged. Of two rows of one call that would share a value in one language, the earlier row keeps it and the later row fails with the duplicate code and details.existing_id, the earlier row's id. Rows are saved independently, each checked against the values stored when it is saved, so two rows that swap values (one row takes the value another row's resource holds, and that row takes a different one) fail: the row that takes a held value is refused with the duplicate code. To swap them, import a translation CSV with both rows (POST /imports, type translations): an import checks consecutive rows together, so a swap is accepted when its two rows sit next to each other in the file. A write waits at most 2 seconds for other translation writes of the same item or of a clashing name or slug (for example a translation CSV import writing the same language); writes of other items, types and languages never wait. A row or call that fails with TRANSLATION_WRITE_BUSY (HTTP 503) saved nothing: send it again after error.details.retry_after_seconds (the call's Retry-After header says the same). Every row or call either saved or reports an error; none is left in an unknown state.

Headers

Name Type Description
Authorization required string

Bearer Store API token.

Idempotency-Key string

Optional key for this translation write. Reuse it only with the same payload when repeating the request.

Body parameters

Name Type Description
translations required array<object>

Up to 100 rows shaped as {id, locale, fields}. Allowed fields: name, description.

Example: [{"fields":{"name":"Couleur"},"id":7,"locale":"fr"},{"fields":{"name":"Farbe"},"id":7,"locale":"de"},{"fields":{"name":"Cor"},"id":7,"locale":"pt-BR"}]

Errors

  • 401 UNAUTHORIZED

    The Authorization header is missing.

  • 401 INVALID_TOKEN

    The Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.

  • 401 TOKEN_NOT_ACCEPTED

    The token is unknown, expired, revoked or replaced, or its app was uninstalled.

  • 402 SUBSCRIPTION_REQUIRED

    The store does not have an active or trialing subscription.

  • 403 API_VERSION_UNSUPPORTED

    The credential is pinned to an API version that cannot be served.

  • 403 STORE_SUSPENDED

    Tringify has suspended the store. Every request is refused until it is reinstated.

  • 403 STORE_TERMINATED

    Tringify has terminated the store permanently. Every request is refused.

  • 400 STORE_API_INVALID_REQUEST_BODY

    The body is not valid JSON or not a JSON object.

  • 400 TRANSLATION_NO_WRITES_PROVIDED

    translations is empty.

  • 400 TRANSLATION_TOO_MANY_ROWS

    More than 100 rows; nothing is written.

  • 503 TRANSLATIONS_NOT_SAVED_RETRY

    No row saved and every row failed only with TRANSLATION_WRITE_BUSY: send the same request again after error.details.retry_after_seconds (also the Retry-After header). error.details also has totals and one results entry per row with its error.

  • 422 TRANSLATIONS_NOT_SAVED

    No row saved and at least one row failed with an error that sending again will not fix; error.details has totals and one results entry per row with its error.

  • 400 STORE_API_BODY_PROPERTY_UNKNOWN

    The body has a property this request does not accept. The message and error.details.properties list the allowed and required properties (nested for each object or list of objects).

  • 400 STORE_API_BODY_PROPERTY_INVALID

    A body property has the wrong type (error.details.expected_type). The message and error.details.properties list the allowed and required properties.

  • 400 STORE_API_QUERY_PARAMETER_UNKNOWN

    The request has a query parameter; this endpoint takes none.

  • 429 RATE_LIMITED

    The request allowance is exhausted. Wait for Retry-After before retrying.

Get attribute option translation

GET read_products + read_translations

Fetch one attribute option translation.

Returns stored translated option fields for one locale, including whether the translation is out of date. Attribute option translations cover label; the option value is the same in every language. Fields without a translation in this locale are omitted from the response. An omitted field is not empty: shoppers see the store's base-language value, which the resource's own GET endpoint returns.

Path parameters

Name Type Description
id required integer

Attribute option id.

Example: 41
locale required string

Enabled non-default store locale.

Example: fr

Headers

Name Type Description
Authorization required string

Bearer Store API token.

Errors

  • 401 UNAUTHORIZED

    The Authorization header is missing.

  • 401 INVALID_TOKEN

    The Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.

  • 401 TOKEN_NOT_ACCEPTED

    The token is unknown, expired, revoked or replaced, or its app was uninstalled.

  • 402 SUBSCRIPTION_REQUIRED

    The store does not have an active or trialing subscription.

  • 403 API_VERSION_UNSUPPORTED

    The credential is pinned to an API version that cannot be served.

  • 403 STORE_SUSPENDED

    Tringify has suspended the store. Every request is refused until it is reinstated.

  • 403 STORE_TERMINATED

    Tringify has terminated the store permanently. Every request is refused.

  • 400 STORE_API_INVALID_ATTRIBUTE_OPTION_ID

    Attribute option id must be an integer.

  • 400 TRANSLATION_LOCALE_NOT_ENABLED

    Locale is not enabled for this store.

  • 400 TRANSLATION_DEFAULT_LOCALE_FORBIDDEN

    The default language stores source values and cannot be used as a translation locale.

  • 400 TRANSLATION_RESOURCE_ID_NOT_IN_STORE

    The attribute option id does not exist in this store.

  • 400 STORE_API_QUERY_PARAMETER_UNKNOWN

    The request has a query parameter; this endpoint takes none.

  • 429 RATE_LIMITED

    The request allowance is exhausted. Wait for Retry-After before retrying.

Set attribute option translation

PUT write_products + write_translations

Set one attribute option translation.

Writes translated option fields for one locale. Empty values clear the matching field translation. A write waits at most 2 seconds for other translation writes of the same item or of a clashing name or slug (for example a translation CSV import writing the same language); writes of other items, types and languages never wait. A row or call that fails with TRANSLATION_WRITE_BUSY (HTTP 503) saved nothing: send it again after error.details.retry_after_seconds (the call's Retry-After header says the same). Every row or call either saved or reports an error; none is left in an unknown state.

Path parameters

Name Type Description
id required integer

Attribute option id.

Example: 41
locale required string

Enabled non-default store locale.

Example: fr

Headers

Name Type Description
Authorization required string

Bearer Store API token.

Idempotency-Key string

Optional key for this translation write. Reuse it only with the same payload when repeating the request.

Body parameters

Name Type Description
translations required object

Field-keyed translation values. Allowed field: label.

Example: {"label": "Rouge"}

Errors

  • 401 UNAUTHORIZED

    The Authorization header is missing.

  • 401 INVALID_TOKEN

    The Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.

  • 401 TOKEN_NOT_ACCEPTED

    The token is unknown, expired, revoked or replaced, or its app was uninstalled.

  • 402 SUBSCRIPTION_REQUIRED

    The store does not have an active or trialing subscription.

  • 403 API_VERSION_UNSUPPORTED

    The credential is pinned to an API version that cannot be served.

  • 403 STORE_SUSPENDED

    Tringify has suspended the store. Every request is refused until it is reinstated.

  • 403 STORE_TERMINATED

    Tringify has terminated the store permanently. Every request is refused.

  • 400 STORE_API_INVALID_ATTRIBUTE_OPTION_ID

    Attribute option id must be an integer.

  • 400 STORE_API_INVALID_REQUEST_BODY

    Request body must be a JSON object containing only documented fields; error.details.field identifies an unknown field.

  • 400 TRANSLATION_LOCALE_NOT_ENABLED

    Locale is not enabled for this store.

  • 400 TRANSLATION_DEFAULT_LOCALE_FORBIDDEN

    The default language stores source values and cannot be used as a translation locale.

  • 400 TRANSLATION_RESOURCE_ID_NOT_IN_STORE

    The attribute option id does not exist in this store.

  • 400 TRANSLATION_FIELD_NOT_TRANSLATABLE

    The supplied field is not translatable for this resource.

  • 400 TRANSLATION_FIELDS_REQUIRED

    A translation row contains no fields.

  • 400 TRANSLATION_FIELD_VALUE_TOO_LONG

    A translated value exceeds the configured length limit.

  • 400 TRANSLATION_FIELD_EXCEEDS_BYTE_LIMIT

    A translated value exceeds its field-specific length limit.

  • 400 TRANSLATION_STAGING_INVALID_CONTROL_CHARS

    A translated value contains a forbidden control character.

  • 400 ATTRIBUTE_OPTION_LABEL_TOO_LONG

    Translated option label exceeds its limit.

  • 400 ATTRIBUTE_OPTION_LABEL_DUPLICATE

    Translated option label matches, ignoring case, another option label on the same attribute in that language or in the default language.

  • 503 TRANSLATION_WRITE_BUSY

    Other translation writes held the item or a clashing name or slug for more than 2 seconds; nothing was saved. Send the request again after error.details.retry_after_seconds (also the Retry-After header).

  • 400 STORE_API_BODY_PROPERTY_UNKNOWN

    The body has a property this request does not accept. The message and error.details.properties list the allowed and required properties (nested for each object or list of objects).

  • 400 STORE_API_BODY_PROPERTY_INVALID

    A body property has the wrong type (error.details.expected_type). The message and error.details.properties list the allowed and required properties.

  • 400 STORE_API_QUERY_PARAMETER_UNKNOWN

    The request has a query parameter; this endpoint takes none.

  • 429 RATE_LIMITED

    The request allowance is exhausted. Wait for Retry-After before retrying.

Batch get attribute option translations

GET read_products + read_translations

Fetch attribute option translations in batch.

Returns one resources entry per requested option id. An existing option without stored translations has an empty field map; an unknown id fails the request. Fields without a translation in this locale are omitted from the response. An omitted field is not empty: shoppers see the store's base-language value, which the resource's own GET endpoint returns.

Path parameters

Name Type Description
locale required string

Enabled non-default store locale.

Example: fr

Query parameters

Name Type Description
ids required string

Comma-separated attribute option ids.

Example: 41,42,43

Headers

Name Type Description
Authorization required string

Bearer Store API token.

Errors

  • 401 UNAUTHORIZED

    The Authorization header is missing.

  • 401 INVALID_TOKEN

    The Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.

  • 401 TOKEN_NOT_ACCEPTED

    The token is unknown, expired, revoked or replaced, or its app was uninstalled.

  • 402 SUBSCRIPTION_REQUIRED

    The store does not have an active or trialing subscription.

  • 403 API_VERSION_UNSUPPORTED

    The credential is pinned to an API version that cannot be served.

  • 403 STORE_SUSPENDED

    Tringify has suspended the store. Every request is refused until it is reinstated.

  • 403 STORE_TERMINATED

    Tringify has terminated the store permanently. Every request is refused.

  • 400 TRANSLATION_LOCALE_NOT_ENABLED

    Locale is not enabled for this store.

  • 400 TRANSLATION_DEFAULT_LOCALE_FORBIDDEN

    The default language stores source values and cannot be used as a translation locale.

  • 400 TRANSLATION_RESOURCE_ID_NOT_IN_STORE

    The attribute option id does not exist in this store.

  • 400 TRANSLATION_RESOURCE_ID_REQUIRED

    ids is missing or names no attribute option.

  • 400 TRANSLATION_INVALID_RESOURCE_ID

    An id is not a positive integer.

  • 400 TRANSLATION_TOO_MANY_RESOURCES

    The request exceeds the translation batch resource cap.

  • 400 STORE_API_QUERY_PARAMETER_UNKNOWN

    The query string has a parameter this request does not accept. The message and error.details.allowed_parameters list the ones it does.

  • 429 RATE_LIMITED

    The request allowance is exhausted. Wait for Retry-After before retrying.

Batch set attribute option translations

PUT write_products + write_translations

Set attribute option translations for any languages in one call.

Each row is one attribute option in one language: id, locale (any enabled non-default store locale) and fields. Rows for several languages can be mixed in one call; send at most 100 rows (one row = one attribute option in one locale) and at most one row per attribute option and locale. Each row is saved on its own: a failing row never stops the others. Empty values clear the matching field translation; omitted fields keep their translation. Every row is validated exactly like the single translation endpoint. The response has totals (rows, saved, failed) and one results entry per row in request order: {id, locale, status} with status saved or failed. A failed row carries the full error (code, message, details); its codes are the single endpoint's codes plus TRANSLATION_ROW_DUPLICATE. A saved rich-text row whose unsafe markup was removed lists warnings. A top-level code and message give the outcome: TRANSLATIONS_SAVED (200, every row saved), TRANSLATIONS_PARTIALLY_SAVED (200, success: true; the message counts saved and failed rows and names the failure reasons, e.g. "2 saved, 1 failed. No source text found for the requested fields (description).") TRANSLATIONS_NOT_SAVED_RETRY (503 with a Retry-After header, success: false; no row saved because every row failed only with TRANSLATION_WRITE_BUSY, so the same call can be sent again after error.details.retry_after_seconds) or TRANSLATIONS_NOT_SAVED (422, success: false; no row saved and at least one row failed for another reason). Both carry the same totals and results in error.details. With an Idempotency-Key, repeating the same request re-applies nothing that already saved and retries the failed rows. A write waits at most 2 seconds for other translation writes of the same item or of a clashing name or slug (for example a translation CSV import writing the same language); writes of other items, types and languages never wait. A row or call that fails with TRANSLATION_WRITE_BUSY (HTTP 503) saved nothing: send it again after error.details.retry_after_seconds (the call's Retry-After header says the same). Every row or call either saved or reports an error; none is left in an unknown state.

Headers

Name Type Description
Authorization required string

Bearer Store API token.

Idempotency-Key string

Optional key for this translation write. Reuse it only with the same payload when repeating the request.

Body parameters

Name Type Description
translations required array<object>

Up to 100 rows shaped as {id, locale, fields}. Allowed field: label.

Example: [{"fields":{"label":"Rouge"},"id":41,"locale":"fr"},{"fields":{"label":"Rot"},"id":41,"locale":"de"},{"fields":{"label":"Vermelho"},"id":41,"locale":"pt-BR"}]

Errors

  • 401 UNAUTHORIZED

    The Authorization header is missing.

  • 401 INVALID_TOKEN

    The Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.

  • 401 TOKEN_NOT_ACCEPTED

    The token is unknown, expired, revoked or replaced, or its app was uninstalled.

  • 402 SUBSCRIPTION_REQUIRED

    The store does not have an active or trialing subscription.

  • 403 API_VERSION_UNSUPPORTED

    The credential is pinned to an API version that cannot be served.

  • 403 STORE_SUSPENDED

    Tringify has suspended the store. Every request is refused until it is reinstated.

  • 403 STORE_TERMINATED

    Tringify has terminated the store permanently. Every request is refused.

  • 400 STORE_API_INVALID_REQUEST_BODY

    The body is not valid JSON or not a JSON object.

  • 400 TRANSLATION_NO_WRITES_PROVIDED

    translations is empty.

  • 400 TRANSLATION_TOO_MANY_ROWS

    More than 100 rows; nothing is written.

  • 503 TRANSLATIONS_NOT_SAVED_RETRY

    No row saved and every row failed only with TRANSLATION_WRITE_BUSY: send the same request again after error.details.retry_after_seconds (also the Retry-After header). error.details also has totals and one results entry per row with its error.

  • 422 TRANSLATIONS_NOT_SAVED

    No row saved and at least one row failed with an error that sending again will not fix; error.details has totals and one results entry per row with its error.

  • 400 STORE_API_BODY_PROPERTY_UNKNOWN

    The body has a property this request does not accept. The message and error.details.properties list the allowed and required properties (nested for each object or list of objects).

  • 400 STORE_API_BODY_PROPERTY_INVALID

    A body property has the wrong type (error.details.expected_type). The message and error.details.properties list the allowed and required properties.

  • 400 STORE_API_QUERY_PARAMETER_UNKNOWN

    The request has a query parameter; this endpoint takes none.

  • 429 RATE_LIMITED

    The request allowance is exhausted. Wait for Retry-After before retrying.

Webhook events#

Subscribe to these events when your integration mirrors localized attributes. Update and clear events identify the locale and changed fields. One write can emit both events when it sets some fields and clears others. No event announces that translations became outdated. A translation is outdated (is_outdated: true) once its source field changes, and the attribute update event reports that change, so after an update that changes a translated field, treat that field's stored translations in every locale as outdated until they are updated or cleared.

Attribute translations updated

EVENT attributes/translations/update App scope: read_products, read_translations Staff permission: products:write

Fired when an attribute's translations are added or updated for a locale. Payload carries only the fields that changed.

Payload fields

Field Type Description
attribute object Always present
attribute.id integer Always present
attribute.store_seq_id integer Always present
attribute.name string Always present
attribute.slug string Always present
attribute.description string Always present
attribute.sub_type string Always present
attribute.sort_order integer Always present
attribute.in_use boolean Always present
attribute.variant_usage_count integer Always present
attribute.created_at string Always present
attribute.updated_at string Always present
attribute.options array Always present
attribute.options[*].id integer Always present
attribute.options[*].store_seq_id integer Always present
attribute.options[*].attribute_id integer Always present
attribute.options[*].label string Always present
attribute.options[*].value string Always present
attribute.options[*].color string Always present
attribute.options[*].file_id string | null Always present
attribute.options[*].file_url string | null Always present
attribute.options[*].file_cdn_url string | null Always present
attribute.options[*].sort_order integer Always present
attribute.options[*].created_at string Always present
locale string Always present
translation object Always present
translation.name string | null Selectable in the Payload builder
translation.description string | null Selectable in the Payload builder
updated_at string Always present

Attribute translations deleted

EVENT attributes/translations/delete App scope: read_products, read_translations Staff permission: products:write

Fired when an attribute's translations are cleared for one or more fields in a locale.

Payload fields

Field Type Description
attribute object Always present
attribute.id integer Always present
attribute.store_seq_id integer Always present
attribute.name string Always present
attribute.slug string Always present
attribute.description string Always present
attribute.sub_type string Always present
attribute.sort_order integer Always present
attribute.in_use boolean Always present
attribute.variant_usage_count integer Always present
attribute.created_at string Always present
attribute.updated_at string Always present
attribute.options array Always present
attribute.options[*].id integer Always present
attribute.options[*].store_seq_id integer Always present
attribute.options[*].attribute_id integer Always present
attribute.options[*].label string Always present
attribute.options[*].value string Always present
attribute.options[*].color string Always present
attribute.options[*].file_id string | null Always present
attribute.options[*].file_url string | null Always present
attribute.options[*].file_cdn_url string | null Always present
attribute.options[*].sort_order integer Always present
attribute.options[*].created_at string Always present
locale string Always present
translation object Always present
translation.name string | null Selectable in the Payload builder
translation.description string | null Selectable in the Payload builder
updated_at string Always present

Attribute option translations updated

EVENT attribute_options/translations/update App scope: read_products, read_translations Staff permission: products:write

Fired when an attribute option's translations are added or updated for a locale. Payload carries only the fields that changed.

Payload fields

Field Type Description
option object Always present
option.id integer Always present
option.store_seq_id integer Always present
option.attribute_id integer Always present
option.label string Always present
option.value string Always present
option.color string Always present
option.file_id string | null Always present
option.file_url string | null Always present
option.file_cdn_url string | null Always present
option.sort_order integer Always present
option.created_at string Always present
locale string Always present
translation object Always present
translation.label string | null Always present
updated_at string Always present

Attribute option translations deleted

EVENT attribute_options/translations/delete App scope: read_products, read_translations Staff permission: products:write

Fired when an attribute option's translations are cleared for one or more fields in a locale.

Payload fields

Field Type Description
option object Always present
option.id integer Always present
option.store_seq_id integer Always present
option.attribute_id integer Always present
option.label string Always present
option.value string Always present
option.color string Always present
option.file_id string | null Always present
option.file_url string | null Always present
option.file_cdn_url string | null Always present
option.sort_order integer Always present
option.created_at string Always present
locale string Always present
translation object Always present
translation.label string | null Always present
updated_at string Always present