Endpoints

Fetch a stores Public Config

Mercury exposes it's grid configuration object as a store metafield

store.metafields.MERCURY.grid
store.metafields.MERCURY.sizemapping
store.metafields.MERCURY.colourmapping
store.metafields.MERCURY.imagemapping

But you can also fetch it directly from the API

Search Endpoints

Mercury's core experience is our Search & Merch Engine. It consists of some key endpoints, which handle the heavy lifting for you to create seamless Search & Collection experiences using our embeddable experience or your own custom experience.

Suggest

Suggest returns a list of similar / popular search terms related to your query

Available on Mercury Pro/Enterprise Plans

Search returns a page of search results for a given search term

The engine will handle

  • Synonym Matching

  • Search Modifiers

  • Saved Searches

  • Redirects

Learn more here

Collection Endpoints

Collection returns a page of collection results for a given collection query term

The engine will handle

  • Sorting based on advanced rules

  • Collection merchandising content

  • Inline merchandising content

When constructing the grid, you will have to merge the merchandising content and the product content to match the configuration of the store's config to allow the mercury admin preview to match the end users collection experience

Learn more here

Get Products

Last updated