Search synonym groups expand recognized words or phrases to the alternatives in that group. Expansion is case-insensitive and scoped to the store and search language. Search itself matches other forms of a word in the search language, so jumpers finds a product titled Jumper without a group. A group applies only to terms typed as written: jumpers does not use a group holding jumper, so add the plural or other forms shoppers type as terms of their own. A group's terms also find each other's word forms in the search language: with a group holding bag and tote, bag finds a product titled Totes. In predictive search, a group applies once its whole term has been typed. Other query words, product visibility, and active filters still apply; equivalent terms do not guarantee identical ranking. Changes apply to every storefront search in that language (the search page, predictive search and searching within a collection) from the next request, without a search index rebuild.
Use GET /search-synonyms/locales to discover enabled languages for these groups. Reads require read_search; writes require write_search, which also grants read access. The token must be valid and the store must have an active or trialing subscription. Use Authentication, Rate limits, and Errors for the shared request rules.
Group response fields
A group has the following fields in list, create, and update responses. Create and update also return a top-level success code and message. Create returns HTTP 201 on success; the other endpoints return HTTP 200.
| Field | Type | Meaning |
|---|---|---|
id |
string | Group UUID. Always present. |
store_id |
string | Owning store UUID. Always present and resolved from the token. |
locale |
string | Enabled store language code. Always present; there is no wildcard group. |
terms |
array of strings | Complete set of 2–25 terms. Always present. Leading and trailing whitespace is removed, repeated spaces become one, and Unicode text is normalized. Case and order are preserved. |
created_at |
string | Creation time in the store timezone, as an RFC 3339 timestamp with the store's numeric offset (for example 2026-08-03T16:30:00+02:00). Always present. |
updated_at |
string | Last successful update time in the store timezone, in the same format as created_at. Always present. |
Timestamps carry the store timezone's offset at that moment, so the offset can change with daylight saving time; compare instants, not strings.
Webhooks and language removal
Subscribe to search_synonyms/create, search_synonyms/update, and search_synonyms/delete below when maintaining a copy. An app subscribes to them with read_search. The update event contains the resulting group; the delete event contains its deletion snapshot. A bulk delete sends one delete event for each group it removes. Webhook payload timestamps use the same store-timezone format as responses.
Removing a language from the store deletes its groups, without a separate group-delete event for each one. A mirror must also handle store/locales/deleted; adding the language again does not restore those groups. See Languages for the language-deletion event and its subscription requirements.
Endpoints#
List search synonym languages
List enabled languages for synonym groups.
Returns the enabled language codes, display labels, and default-language flag using Search read access. Use the returned locale code when creating or moving a group.
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_REQUIREDThe token does not grant the required resource scope. A write_search grant also permits reads.
-
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.
Search synonym limits
Get search synonym limits.
Returns validation and list controls. list_page_size is the default page size; list_max_limit is the maximum accepted size. page_size_options suggests UI choices, but any integer from 1 to list_max_limit is accepted. max_terms_per_group limits terms in one group; max_groups_per_store limits the groups a store can have across its languages. bulk_delete_max is the most group IDs one bulk delete accepts. max_term_length and search_max_length count Unicode code points. sort_columns lists the accepted sort keys. All fields shown in the response are present.
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_REQUIREDThe token does not grant the required resource scope. A write_search grant also permits reads.
-
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.
List search synonyms
List the store's search synonym groups.
Omit locale to list groups across the store's languages. A supplied locale must be enabled on the store. data.groups is an array of complete group objects; data.total is the number of groups matching the filters before pagination. data.store_total is the number of groups in the store across all languages, whatever the filters. An empty result or a page beyond the end returns groups: [] and the matching total. The default order is created_at descending; ties use ID descending. See the group response fields above.
Query parameters
| Name | Type | Description |
|---|---|---|
page
|
integer |
Positive page number. Missing or empty uses the default; zero, negative and non-integer values are rejected. |
per_page
|
integer |
Any integer from 1 to 100. Missing or empty uses the default. |
search
|
string |
Case-insensitive substring of a term or locale code; at most 100 Unicode code points. Percent and underscore are treated literally. |
locale
|
string |
Enabled store language code, matched without case sensitivity. Omit or leave empty for all languages. The wildcard * is not supported. |
sort_by
|
string |
created_at, updated_at, or locale; other values are rejected. |
sort_direction
|
string |
Lowercase asc or desc; other values are rejected. |
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_REQUIREDThe token does not grant the required resource scope. A write_search grant also permits reads.
-
400INVALID_INPUTA query value is invalid:
pageorper_pageis not a positive integer or is out of range,searchis too long, orsort_byorsort_directionis not an accepted value. -
400SEARCH_SYNONYM_LOCALE_INVALIDThe language code is unsupported or is not enabled on the store.
-
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.
Create search synonyms
Create a search synonym group.
Send JSON with an enabled language code and 2–25 terms. Leading and trailing whitespace is removed, repeated spaces become one, and Unicode text is normalized. Saved case and order are preserved. Each trimmed term can contain at most 64 Unicode code points. Empty terms and case-insensitive duplicates are rejected. A trimmed term cannot already belong to another group in the same store and language; that conflict returns 409. The same term can be used in another language. Success returns HTTP 201 with the complete group plus code: SEARCH_SYNONYM_CREATED and an English message, and emits search_synonyms/create.
Headers
| Name | Type | Description |
|---|---|---|
Authorization
required
|
string |
Bearer Store API token. |
Body parameters
| Name | Type | Description |
|---|---|---|
locale
required
|
string |
Enabled store language code, matched without case sensitivity. Surrounding whitespace is trimmed; * is not supported. |
terms
required
|
array<string> |
Complete group of 2–25 distinct, nonempty words or phrases; at most 64 Unicode code points per trimmed term. |
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_REQUIREDThe token does not grant the required resource scope. A write_search grant also permits reads.
-
400STORE_API_INVALID_REQUEST_BODYThe body is not valid JSON, is null, or has data after the JSON value.
-
400INVALID_INPUTA term contains a control character.
-
400SEARCH_SYNONYM_LOCALE_INVALIDThe language code is unsupported or is not enabled on the store.
-
400SEARCH_SYNONYM_LOCALE_REQUIREDThe required or supplied locale is blank.
-
400SEARCH_SYNONYM_TERMS_REQUIREDThe required or supplied term array is empty.
-
400SEARCH_SYNONYM_TERMS_MINThe term array contains fewer than two terms.
-
400SEARCH_SYNONYM_TERMS_MAXThe term array contains more than 25 terms; params.max gives the limit.
-
400SEARCH_SYNONYM_TERM_EMPTYA term is blank after Unicode normalization and whitespace normalization.
-
400SEARCH_SYNONYM_TERM_TOO_LONGA trimmed term exceeds 64 Unicode code points; params.max gives the limit.
-
400SEARCH_SYNONYM_TERM_DUPLICATETwo terms in the request match case-insensitively after Unicode normalization and whitespace normalization; params.term identifies the duplicate.
-
400SEARCH_SYNONYM_LIMIT_REACHEDThe store already has max_groups_per_store groups; params.max gives the limit.
-
409SEARCH_SYNONYM_TERM_IN_USEA term belongs to another group in this store and language; params.term is the conflicting term, normalized and in lowercase.
-
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.
Update search synonyms
Update a search synonym group.
This PUT merges the supplied fields. Omitted or null fields retain their current values. A supplied terms array replaces the whole group; it does not append. The create validation rules still apply, so an empty array cannot clear a group. Changing locale moves the group to that enabled language and checks term ownership there. An update that changes nothing, including {}, returns the group as it is, without changing updated_at or emitting an event. The response contains the complete saved group with code: SEARCH_SYNONYM_UPDATED and an English message. A well-formed ID absent from the token's store returns 404.
Path parameters
| Name | Type | Description |
|---|---|---|
synonymId
required
|
string |
The group's UUID, returned by list or create. Use an ID from the token's store. |
Headers
| Name | Type | Description |
|---|---|---|
Authorization
required
|
string |
Bearer Store API token. |
Body parameters
| Name | Type | Description |
|---|---|---|
locale
|
string |
New enabled store language code. Omit or use null to retain the current language. |
terms
|
array<string> |
Complete replacement group, using the create limits. Omit or use null to retain the current terms. |
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_REQUIREDThe token does not grant the required resource scope. A write_search grant also permits reads.
-
400STORE_API_INVALID_REQUEST_BODYThe body is not valid JSON, is null, or has data after the JSON value.
-
400INVALID_INPUTsynonymIdis not a well-formed UUID, or a term contains a control character. -
400SEARCH_SYNONYM_LOCALE_INVALIDThe language code is unsupported or is not enabled on the store.
-
400SEARCH_SYNONYM_LOCALE_REQUIREDThe required or supplied locale is blank.
-
400SEARCH_SYNONYM_TERMS_REQUIREDThe required or supplied term array is empty.
-
400SEARCH_SYNONYM_TERMS_MINThe term array contains fewer than two terms.
-
400SEARCH_SYNONYM_TERMS_MAXThe term array contains more than 25 terms; params.max gives the limit.
-
400SEARCH_SYNONYM_TERM_EMPTYA term is blank after Unicode normalization and whitespace normalization.
-
400SEARCH_SYNONYM_TERM_TOO_LONGA trimmed term exceeds 64 Unicode code points; params.max gives the limit.
-
400SEARCH_SYNONYM_TERM_DUPLICATETwo terms in the request match case-insensitively after Unicode normalization and whitespace normalization; params.term identifies the duplicate.
-
409SEARCH_SYNONYM_TERM_IN_USEA term belongs to another group in this store and language; params.term is the conflicting term, normalized and in lowercase.
-
404SEARCH_SYNONYM_NOT_FOUNDThe well-formed group ID does not exist in the token's store.
-
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.
Delete search synonyms
Delete a search synonym group.
Removes the group from the token's store and emits search_synonyms/delete. Success has a code and message, with no data object. Repeating the deletion of a well-formed ID returns 404 once the group is absent; there is no restore endpoint.
Path parameters
| Name | Type | Description |
|---|---|---|
synonymId
required
|
string |
The group's UUID, returned by list or create. Use an ID from the token's store. |
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_REQUIREDThe token does not grant the required resource scope. A write_search grant also permits reads.
-
400INVALID_INPUTsynonymIdis not a well-formed UUID. -
404SEARCH_SYNONYM_NOT_FOUNDThe well-formed group ID does not exist in the token's store.
-
400STORE_API_QUERY_PARAMETER_UNKNOWNThe request has a query parameter; this endpoint takes none.
-
400STORE_API_BODY_PROPERTY_UNKNOWNThe request body has a property; this endpoint takes no body. Send no body or an empty object
{}. -
429RATE_LIMITEDThe request allowance is exhausted. Wait for Retry-After before retrying.
Bulk delete search synonyms
Delete several search synonym groups in one request.
Send up to bulk_delete_max group IDs (see the limits endpoint). Duplicate IDs count once. The groups found in the token's store are deleted together in one transaction, each emitting search_synonyms/delete; an ID that cannot be deleted is reported in data.failed with a reason: INVALID_INPUT when it is not a well-formed UUID, SEARCH_SYNONYM_NOT_FOUND when it names no group in the store. The rest are still deleted. data.deleted lists the deleted IDs. The top-level code is SEARCH_SYNONYM_BULK_DELETED with an English message counting the deleted groups.
Headers
| Name | Type | Description |
|---|---|---|
Authorization
required
|
string |
Bearer Store API token. |
Body parameters
| Name | Type | Description |
|---|---|---|
ids
required
|
array<string> |
Group UUIDs to delete, at most |
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_REQUIREDThe token does not grant the required resource scope. A write_search grant also permits reads.
-
400STORE_API_INVALID_REQUEST_BODYThe body is not valid JSON, is null, or has data after the JSON value.
-
400SEARCH_SYNONYM_BULK_NO_IDSidsis missing or empty. -
400SEARCH_SYNONYM_BULK_TOO_MANYidsholds more thanbulk_delete_maxdistinct IDs; params.max gives the limit. -
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#
Search synonym group created
Fired after a search synonym group is created. The search_synonym object describes the saved group. Its created_at and updated_at values, like every webhook timestamp, are in the store's time zone with its offset (RFC 3339).
Payload fields
| Field | Type | Description |
|---|---|---|
search_synonym.id |
string |
Always present
Stable UUID of the created, updated, or deleted group. Always included, even when other fields are excluded from the subscription payload. |
search_synonym.locale |
string |
Selectable in the Payload builder
The group's store language code. For a locale change, the update contains the new code. |
search_synonym.terms |
array |
Selectable in the Payload builder
Array of 2–25 strings: the complete saved term set, with trimmed text, original case, and saved order. The delete event carries the terms from the deleted group's snapshot. |
search_synonym.created_at |
string |
Selectable in the Payload builder
When the group was created, in the store's time zone with its offset (RFC 3339). |
search_synonym.updated_at |
string |
Selectable in the Payload builder
When the group last changed, in the store's time zone with its offset (RFC 3339). On delete this is the group's recorded update time, not the deletion time. |
Search synonym group deleted
Fired for each search synonym group deleted, including each group of a bulk delete. The search_synonym object is the group snapshot loaded for deletion. Its created_at and updated_at values describe that group; updated_at is not the deletion time. Removing a store language also removes its groups, without a separate search_synonyms/delete event for each group. Integrations mirroring groups should also handle store/locales/deleted.
Payload fields
| Field | Type | Description |
|---|---|---|
search_synonym.id |
string |
Always present
Stable UUID of the created, updated, or deleted group. Always included, even when other fields are excluded from the subscription payload. |
search_synonym.locale |
string |
Selectable in the Payload builder
The group's store language code. For a locale change, the update contains the new code. |
search_synonym.terms |
array |
Selectable in the Payload builder
Array of 2–25 strings: the complete saved term set, with trimmed text, original case, and saved order. The delete event carries the terms from the deleted group's snapshot. |
search_synonym.created_at |
string |
Selectable in the Payload builder
When the group was created, in the store's time zone with its offset (RFC 3339). |
search_synonym.updated_at |
string |
Selectable in the Payload builder
When the group last changed, in the store's time zone with its offset (RFC 3339). On delete this is the group's recorded update time, not the deletion time. |
Search synonym group updated
Fired after a group update that changes its language or terms; an update that changes nothing sends no event. The search_synonym object contains the resulting group, not a before/after diff. Its timestamps are in the store's time zone with its offset (RFC 3339); updated_at is the group update time.
Payload fields
| Field | Type | Description |
|---|---|---|
search_synonym.id |
string |
Always present
Stable UUID of the created, updated, or deleted group. Always included, even when other fields are excluded from the subscription payload. |
search_synonym.locale |
string |
Selectable in the Payload builder
The group's store language code. For a locale change, the update contains the new code. |
search_synonym.terms |
array |
Selectable in the Payload builder
Array of 2–25 strings: the complete saved term set, with trimmed text, original case, and saved order. The delete event carries the terms from the deleted group's snapshot. |
search_synonym.created_at |
string |
Selectable in the Payload builder
When the group was created, in the store's time zone with its offset (RFC 3339). |
search_synonym.updated_at |
string |
Selectable in the Payload builder
When the group last changed, in the store's time zone with its offset (RFC 3339). On delete this is the group's recorded update time, not the deletion time. |