How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Elastic Path Synonym Sets API

Synonym Sets allow you to define groups of equivalent or related terms so that searches for one term also return results for its synonyms. This helps shoppers find products regardless of the specific terminology they use.### How Synonym Sets WorkA synonym set is a named container of synonym items. Each set belongs to an organization or store and is synced asynchronously. Once synced, a set can be attached to one or more search profiles; its synonym rules are then applied during searches that use those profiles to expand queries with matching terms.### Synonym TypesEach item within a synonym set can be either multi-way or one-way:- **Multi-way synonyms**: All terms are treated as equivalent. Searching for any term in the list returns results for all of them. For example, `["sneakers", "trainers", "running shoes"]` means a search for "trainers" also returns results for "sneakers" and "running shoes".- **One-way synonyms**: Searches for a `root` term also match the `synonyms`, but not vice versa. For example, with `root: "jacket"` and `synonyms: ["blazer", "coat"]`, searching for "jacket" also returns results for "blazer" and "coat", but searching for "blazer" does not return results for "jacket".### Synonym Item ConfigurationEach item within a synonym set supports the following options:| Option | Required | Description ||--------------------|----------|--------------------------------------------------------------------------------------------------------------|| `id` | Yes | Unique identifier for the item within the set. Alphanumeric characters, hyphens, and underscores only. || `synonyms` | Yes | List of synonym terms. Minimum 1 if `root` is provided (one-way), minimum 2 if `root` is absent (multi-way). || `root` | No | Makes this a one-way synonym. Must not also appear in the `synonyms` array. || `locale` | No | ISO 639 language code for this synonym item. || `symbols_to_index` | No | Special characters to preserve as part of tokens. Each element must be exactly one character. |### Sync StatusSynonym sets are synced asynchronously. The sync status is tracked and exposed in API responses:| Status | Description ||------------------|----------------------------------------------------------------|| `pending_sync` | Set has been created or updated in MongoDB but not yet synced || `synced` | Set has been successfully synced || `sync_failed` | The last sync attempt failed || `pending_delete` | Set is marked for deletion; a background worker will remove it |### TenancySynonym sets follow the same tenancy model as other resources:- **Organization-scoped sets**: Managed by the organization; apply across all stores- **Store-scoped sets**: Managed by the store; apply only to that storeStores cannot modify organization-scoped synonym sets.### Using Synonym Sets in Search ProfilesSynonym sets only take effect once they are attached to a [search profile](/docs/api/pxm/catalog-search/search-profiles) via its `synonym_sets` attribute. At search time, the synonym sets of the resolved search profile are applied to the query.When attaching a synonym set to a search profile:- The set must exist and be accessible by the calling tenant. Organization-level search profiles may only reference organization-level sets; store-level search profiles may reference organization-level and same-store sets.- The set must have been synced at least once. A set in `pending_sync` or `sync_failed` state can still be used if it was previously synced — its last synced state continues to apply.A synonym set cannot be deleted while it is referenced by any search profile; the delete request is rejected with a `409 Conflict` until the reference is removed.### Use Cases- **Regional terminology**: Map British and American English terms (e.g., "trousers" ↔ "pants")- **Brand equivalents**: Link product category names with common alternatives- **Industry jargon**: Ensure technical terms match colloquial ones- **Abbreviations**: Map abbreviations to their full forms (e.g., "tee" → "t-shirt")

Elastic Path Synonym Sets API is one of 100 APIs that Elastic Path publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Synonym Sets. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

This API exposes 5 operations across 2 paths, and defines 15 schemas. It is described by OpenAPI 3.2.0, at version 26.0604.7696948.

Requests are made against 2 base URLs: https://euwest.api.elasticpath.com/v2, https://useast.api.elasticpath.com/v2.

5 operations 2 paths 15 schemas 1 DELETE2 GET1 POST1 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
26.0604.7696948
Base URL
https://useast.api.elasticpath.com
Authentication
HTTP Bearer
Resource Areas
1

Authentication & Security 1

Elastic Path Synonym Sets API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (BearerToken). By default, every request must be authenticated.

Paths & Operations 5

Across 2 paths, the API surfaces 5 operations — 1 DELETE, 2 GET, 1 POST, 1 PUT. Each is listed below with its method, path, parameters, and response codes.

Synonym Sets 5

Synonym Sets allow you to define groups of equivalent or related terms so that searches for one term also return results for its synonyms. This helps shoppers find products regard…

POST
/pcm/catalogs/search/synonym-sets
Create synonym set
createSynonymSet body → 201400500
GET
/pcm/catalogs/search/synonym-sets
List synonym sets
listSynonymSets → 200500
GET
/pcm/catalogs/search/synonym-sets/{synonym_set_id}
Get synonym set
getSynonymSet 1 param → 200404500
PUT
/pcm/catalogs/search/synonym-sets/{synonym_set_id}
Update synonym set
updateSynonymSet 1 param body → 200400403404500
DELETE
/pcm/catalogs/search/synonym-sets/{synonym_set_id}
Delete synonym set
deleteSynonymSet 1 param → 204400403409500

Schemas 15

The contract defines 15 schemas that model the data the API accepts and returns. The most detailed are SynonymSetItem (5 properties), SynonymSetMeta (5 properties), Error (4 properties), SynonymSet (4 properties). Each schema is shown below with its type and property counts.

SynonymSetItem
object
5 properties 2 required
SynonymSetType
string
Represents the type of object being returned. Always catalogsearchsynonymset.
ResourceOwner
string
The resource owner, either organization or store.
ErrorResponse
object
1 property 1 required
CreateSynonymSetRequest
object
1 property 1 required
UpdateSynonymSetAttributes
object
2 properties
SynonymSetMeta
object
5 properties 4 required
UpdateSynonymSetRequest
object
1 property 1 required
ListSynonymSetsResponse
object
2 properties 2 required
SynonymSetResponse
object
1 property 1 required
ListResponseMeta
object
1 property 1 required
Error
object
4 properties 2 required
SynonymSetAttributes
object
2 properties 2 required
ListResponseMetaResults
object
Contains the results for the entire collection.
1 property 1 required
SynonymSet
object
4 properties 4 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

elastic-path-synonym-sets-api-openapi.yml Raw ↑

Other APIs Elastic Path publishes across the network.

Elastic Path GraphQL API
Elastic Path Account Addresses API
Elastic Path Account Authentication Settings API
Elastic Path Account Cart Associations API
Elastic Path Account Management Authentication API
Elastic Path Account Members API
Elastic Path Account Membership API
Elastic Path Account Membership Settings API
Elastic Path Account Tags API
Elastic Path Accounts API
Elastic Path Administrator Latest Releases Catalog API API
Elastic Path Application Keys API
Where this information came from

This is an independent, third-party profile of Elastic Path Synonym Sets API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.