Translate the label of a built-in or custom product filter for an enabled non-default store locale. Reads require read_products and read_translations; writes require write_products and write_translations. Only label is translatable, with a 100-character limit. An empty string removes the translation.
Storefront listings use the translated heading when present and otherwise use the original label. Changing the original label marks its translations outdated without removing them. Filter keys, choice values, matching behavior and configuration revisions stay unchanged. Translate choice labels through their source resources. Built-in yes/no, availability and sale-state phrases use Storefront messages.
Get filter translation
Read a filter's label in one locale.
The label is the only translatable field on a filter. label.origin is merchant for the store's own translation and platform for a built-in filter that still has its platform label: Tringify provides that label in every storefront language, so it is always present. A renamed built-in filter or a custom filter with no translation returns an empty fields object. Choice labels translate at their source. 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
|
string |
Product filter definition UUID, including a built-in filter. |
locale
required
|
string |
Enabled non-default store locale. |
Headers
| Name | Type | Description |
|---|---|---|
Authorization
required
|
string |
Bearer Store API token. |
Errors
-
401UNAUTHORIZEDThe Authorization header is missing.
-
401INVALID_TOKENThe Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.
-
401TOKEN_NOT_ACCEPTEDThe token is unknown, expired, revoked or replaced, or its app was uninstalled.
-
402SUBSCRIPTION_REQUIREDThe store does not have an active or trialing subscription.
-
403API_VERSION_UNSUPPORTEDThe credential is pinned to an API version that cannot be served.
-
403STORE_SUSPENDEDTringify has suspended the store. Every request is refused until it is reinstated.
-
403STORE_TERMINATEDTringify has terminated the store permanently. Every request is refused.
-
403STORE_API_SCOPE_REQUIREDToken is valid but lacks the required scope for this call.
-
400TRANSLATION_LOCALE_NOT_ENABLEDLocale is not enabled for this store.
-
400TRANSLATION_DEFAULT_LOCALE_FORBIDDENTranslations cannot target the store's default locale.
-
400TRANSLATION_INVALID_RESOURCE_IDA filter ID is not a valid nonzero UUID.
-
400TRANSLATION_RESOURCE_ID_NOT_IN_STOREA filter does not exist in this store.
-
400STORE_API_QUERY_PARAMETER_UNKNOWNThe request has a query parameter; this endpoint takes none.
-
429RATE_LIMITEDThe request allowance is exhausted. Wait for Retry-After before retrying.
Set filter translation
Translate a built-in or custom filter's label.
Only supplied fields change. label accepts up to 100 characters. An empty string removes the translation; a built-in filter with its platform label then shows the platform label for the locale again, never English. Saving the platform label itself stores nothing. Changing the original label marks translations outdated; they remain visible until updated or removed. Translations do not change filter keys, choice values, matching behavior, or configuration revisions. A saved label publishes product_filters/translations/update; a removed one publishes product_filters/translations/delete; neither publishes product_filters/update. 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
|
string |
Product filter definition UUID, including a built-in filter. |
locale
required
|
string |
Enabled non-default store locale. |
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 string values. Only label is supported. |
Errors
-
401UNAUTHORIZEDThe Authorization header is missing.
-
401INVALID_TOKENThe Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.
-
401TOKEN_NOT_ACCEPTEDThe token is unknown, expired, revoked or replaced, or its app was uninstalled.
-
402SUBSCRIPTION_REQUIREDThe store does not have an active or trialing subscription.
-
403API_VERSION_UNSUPPORTEDThe credential is pinned to an API version that cannot be served.
-
403STORE_SUSPENDEDTringify has suspended the store. Every request is refused until it is reinstated.
-
403STORE_TERMINATEDTringify has terminated the store permanently. Every request is refused.
-
403STORE_API_SCOPE_REQUIREDToken is valid but lacks the required scope for this call.
-
400TRANSLATION_LOCALE_NOT_ENABLEDLocale is not enabled for this store.
-
400TRANSLATION_DEFAULT_LOCALE_FORBIDDENTranslations cannot target the store's default locale.
-
400TRANSLATION_INVALID_RESOURCE_IDA filter ID is not a valid nonzero UUID.
-
400TRANSLATION_RESOURCE_ID_NOT_IN_STOREA filter does not exist in this store.
-
400STORE_API_INVALID_REQUEST_BODYMalformed JSON, an unknown body field, or a non-string translation value.
-
400TRANSLATION_FIELDS_REQUIREDtranslationshas no fields. -
400TRANSLATION_FIELD_NOT_TRANSLATABLEOnly label is translatable.
-
400TRANSLATION_TOO_MANY_FIELDSThe request exceeds the translation field limit.
-
400TRANSLATION_FIELD_VALUE_TOO_LONGA value exceeds the allowed length.
-
400TRANSLATION_FIELD_EXCEEDS_BYTE_LIMITThe label exceeds 100 characters.
-
400TRANSLATION_STAGING_INVALID_CONTROL_CHARSThe label contains invalid control characters.
-
409TRANSLATION_MUTATION_CONFLICTThe idempotency key was already used with a different request.
-
503TRANSLATION_WRITE_BUSYOther 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 theRetry-Afterheader). -
400STORE_API_BODY_PROPERTY_UNKNOWNThe body has a property this request does not accept. The message and
error.details.propertieslist the allowed and required properties (nestedfor each object or list of objects). -
400STORE_API_BODY_PROPERTY_INVALIDA body property has the wrong type (
error.details.expected_type). The message anderror.details.propertieslist the allowed and required properties. -
400STORE_API_QUERY_PARAMETER_UNKNOWNThe request has a query parameter; this endpoint takes none.
-
429RATE_LIMITEDThe request allowance is exhausted. Wait for Retry-After before retrying.
Batch get filter translations
Read several filter labels in one locale.
Each resources entry is keyed by product_filter_definition:{id}. label.origin is merchant for the store's own translation and platform for a built-in filter's platform label, which is always present. A renamed built-in filter or a custom filter with no translation has an empty object. Every requested filter must belong to the token's store. 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. |
Query parameters
| Name | Type | Description |
|---|---|---|
ids
required
|
string |
Comma-separated filter definition UUIDs. |
Headers
| Name | Type | Description |
|---|---|---|
Authorization
required
|
string |
Bearer Store API token. |
Errors
-
401UNAUTHORIZEDThe Authorization header is missing.
-
401INVALID_TOKENThe Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.
-
401TOKEN_NOT_ACCEPTEDThe token is unknown, expired, revoked or replaced, or its app was uninstalled.
-
402SUBSCRIPTION_REQUIREDThe store does not have an active or trialing subscription.
-
403API_VERSION_UNSUPPORTEDThe credential is pinned to an API version that cannot be served.
-
403STORE_SUSPENDEDTringify has suspended the store. Every request is refused until it is reinstated.
-
403STORE_TERMINATEDTringify has terminated the store permanently. Every request is refused.
-
403STORE_API_SCOPE_REQUIREDToken is valid but lacks the required scope for this call.
-
400TRANSLATION_LOCALE_NOT_ENABLEDLocale is not enabled for this store.
-
400TRANSLATION_DEFAULT_LOCALE_FORBIDDENTranslations cannot target the store's default locale.
-
400TRANSLATION_INVALID_RESOURCE_IDA filter ID is not a valid nonzero UUID.
-
400TRANSLATION_RESOURCE_ID_NOT_IN_STOREA filter does not exist in this store.
-
400TRANSLATION_RESOURCE_ID_REQUIREDidsis missing or empty. -
400TRANSLATION_TOO_MANY_RESOURCESidslists more filters than the translation batch limit. -
400STORE_API_QUERY_PARAMETER_UNKNOWNThe query string has a parameter this request does not accept. The message and
error.details.allowed_parameterslist the ones it does. -
429RATE_LIMITEDThe request allowance is exhausted. Wait for Retry-After before retrying.
Batch set filter translations
Set filter translations for any languages in one call.
Each row is one filter 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 filter in one locale) and at most one row per filter 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}. Only |
Errors
-
401UNAUTHORIZEDThe Authorization header is missing.
-
401INVALID_TOKENThe Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.
-
401TOKEN_NOT_ACCEPTEDThe token is unknown, expired, revoked or replaced, or its app was uninstalled.
-
402SUBSCRIPTION_REQUIREDThe store does not have an active or trialing subscription.
-
403API_VERSION_UNSUPPORTEDThe credential is pinned to an API version that cannot be served.
-
403STORE_SUSPENDEDTringify has suspended the store. Every request is refused until it is reinstated.
-
403STORE_TERMINATEDTringify has terminated the store permanently. Every request is refused.
-
400STORE_API_INVALID_REQUEST_BODYThe body is not valid JSON or not a JSON object.
-
400TRANSLATION_NO_WRITES_PROVIDEDtranslations is empty.
-
400TRANSLATION_TOO_MANY_ROWSMore than 100 rows; nothing is written.
-
503TRANSLATIONS_NOT_SAVED_RETRYNo row saved and every row failed only with
TRANSLATION_WRITE_BUSY: send the same request again aftererror.details.retry_after_seconds(also theRetry-Afterheader).error.detailsalso hastotalsand oneresultsentry per row with its error. -
422TRANSLATIONS_NOT_SAVEDNo row saved and at least one row failed with an error that sending again will not fix;
error.detailshastotalsand oneresultsentry per row with its error. -
400STORE_API_BODY_PROPERTY_UNKNOWNThe body has a property this request does not accept. The message and
error.details.propertieslist the allowed and required properties (nestedfor each object or list of objects). -
400STORE_API_BODY_PROPERTY_INVALIDA body property has the wrong type (
error.details.expected_type). The message anderror.details.propertieslist the allowed and required properties. -
400STORE_API_QUERY_PARAMETER_UNKNOWNThe request has a query parameter; this endpoint takes none.
-
429RATE_LIMITEDThe request allowance is exhausted. Wait for Retry-After before retrying.
Webhook events#
Product filter translations deleted
Fired when a product filter's label translation is cleared for a locale, including when the filter is deleted: then one event per locale the filter had a label translation in, with the label empty, alongside product_filters/delete (deliveries can arrive in either order).
Payload fields
| Field | Type | Description |
|---|---|---|
product_filter |
object |
Always present |
product_filter.id |
string |
Always present
Stable UUID of the filter definition. |
product_filter.filter_key |
string |
Always present
The key storefront filter URLs use, derived from the source and never changed: a built-in key such as |
product_filter.source_type |
string |
Always present
system for a built-in filter, attribute, or metafield. |
product_filter.source_id |
string | null |
Always present
The attribute id or metafield definition id the filter reads. null for a built-in filter. |
product_filter.source_owner_type |
string | null |
Always present
product or variant for a metafield filter. null for a built-in or attribute filter. |
product_filter.label |
string |
Always present
The filter's base-language heading. A platform-labelled built-in filter carries its platform label in the store's default language; changing the store's default language does not send product_filters/update. |
product_filter.platform_labelled |
boolean |
Always present
True for a built-in filter that still shows its platform label, which Tringify provides in every storefront language. |
product_filter.system_managed |
boolean |
Always present
True for a built-in filter: its filter type and display type are fixed, and it cannot be deleted. |
product_filter.filter_type |
string |
Always present
enum, multi_enum, range, boolean or color. It decides selection: shoppers pick one value of an enum, boolean or range filter and any number of values of a multi_enum or color filter. |
product_filter.display_type |
string |
Always present
checkbox, swatch, image_swatch, range, toggle or pills. |
product_filter.enabled |
boolean |
Always present
Whether the filter is offered on storefront listings. An enabled filter is still left out of a listing where it cannot narrow the results; that is decided per page view and sends no event. |
product_filter.sort_order |
integer |
Always present
Storefront position, from zero. Every filter of the store has its own position. |
product_filter.revision |
integer |
Always present
The filter's revision. Send it with the next update; it changes on every saved change, including a reorder that moves the filter. |
product_filter.page_types |
array |
Always present
The listing page types the filter shows on: shop, category, collection, vendor, brand, search. Not used while show_on lists any page. |
product_filter.show_on |
array |
Always present
The pages the filter shows only on, overriding page_types. Empty when it follows page_types. |
product_filter.show_on[*].type |
string |
Always present
category, collection, vendor or brand. |
product_filter.show_on[*].id |
string |
Always present
The category, collection, vendor or brand id. |
product_filter.show_on[*].include_children |
boolean |
Always present
For a category, whether every category below it is covered too. false for other types. |
product_filter.hide_on |
array |
Always present
The pages the filter never shows on. Wins over page_types and show_on. |
product_filter.hide_on[*].type |
string |
Always present
category, collection, vendor or brand. |
product_filter.hide_on[*].id |
string |
Always present
The category, collection, vendor or brand id. |
product_filter.hide_on[*].include_children |
boolean |
Always present
For a category, whether every category below it is covered too. false for other types. |
locale |
string |
Always present
The store language of the translation. |
translation |
object |
Always present |
translation.label |
string | null |
Always present
The translated label. Empty on product_filters/translations/delete. |
updated_at |
string |
Always present
When the translation changed, in the store's time zone with its offset (RFC 3339). |
Product filter translations updated
Fired when a product filter's label translation is added or changed for a locale. Translation writes do not fire product_filters/update.
Payload fields
| Field | Type | Description |
|---|---|---|
product_filter |
object |
Always present |
product_filter.id |
string |
Always present
Stable UUID of the filter definition. |
product_filter.filter_key |
string |
Always present
The key storefront filter URLs use, derived from the source and never changed: a built-in key such as |
product_filter.source_type |
string |
Always present
system for a built-in filter, attribute, or metafield. |
product_filter.source_id |
string | null |
Always present
The attribute id or metafield definition id the filter reads. null for a built-in filter. |
product_filter.source_owner_type |
string | null |
Always present
product or variant for a metafield filter. null for a built-in or attribute filter. |
product_filter.label |
string |
Always present
The filter's base-language heading. A platform-labelled built-in filter carries its platform label in the store's default language; changing the store's default language does not send product_filters/update. |
product_filter.platform_labelled |
boolean |
Always present
True for a built-in filter that still shows its platform label, which Tringify provides in every storefront language. |
product_filter.system_managed |
boolean |
Always present
True for a built-in filter: its filter type and display type are fixed, and it cannot be deleted. |
product_filter.filter_type |
string |
Always present
enum, multi_enum, range, boolean or color. It decides selection: shoppers pick one value of an enum, boolean or range filter and any number of values of a multi_enum or color filter. |
product_filter.display_type |
string |
Always present
checkbox, swatch, image_swatch, range, toggle or pills. |
product_filter.enabled |
boolean |
Always present
Whether the filter is offered on storefront listings. An enabled filter is still left out of a listing where it cannot narrow the results; that is decided per page view and sends no event. |
product_filter.sort_order |
integer |
Always present
Storefront position, from zero. Every filter of the store has its own position. |
product_filter.revision |
integer |
Always present
The filter's revision. Send it with the next update; it changes on every saved change, including a reorder that moves the filter. |
product_filter.page_types |
array |
Always present
The listing page types the filter shows on: shop, category, collection, vendor, brand, search. Not used while show_on lists any page. |
product_filter.show_on |
array |
Always present
The pages the filter shows only on, overriding page_types. Empty when it follows page_types. |
product_filter.show_on[*].type |
string |
Always present
category, collection, vendor or brand. |
product_filter.show_on[*].id |
string |
Always present
The category, collection, vendor or brand id. |
product_filter.show_on[*].include_children |
boolean |
Always present
For a category, whether every category below it is covered too. false for other types. |
product_filter.hide_on |
array |
Always present
The pages the filter never shows on. Wins over page_types and show_on. |
product_filter.hide_on[*].type |
string |
Always present
category, collection, vendor or brand. |
product_filter.hide_on[*].id |
string |
Always present
The category, collection, vendor or brand id. |
product_filter.hide_on[*].include_children |
boolean |
Always present
For a category, whether every category below it is covered too. false for other types. |
locale |
string |
Always present
The store language of the translation. |
translation |
object |
Always present |
translation.label |
string | null |
Always present
The translated label. Empty on product_filters/translations/delete. |
updated_at |
string |
Always present
When the translation changed, in the store's time zone with its offset (RFC 3339). |