Skip to main content

GET

Autocomplete is a query used to retrieve search suggestions, product suggestions, and content item suggestions as the visitor types. All suggestions are returned with autocorrect automatically applied as well as supporting highlighting hints, compatible with any corrections. A query can be sent on every key-press, but a debounce on 50 ms is recommended to avoid unnecessary requests while still creating an extremely snappy experience. If a query is sent with the search phrase omitted or empty, the returned suggestions will include trending search phrases. The contentList is empty unless specified in the request body. The request body is specified in a POST request. Note that the exact contents of the product suggestions depends on which template is used, if any.

Request

bash

Response

AutocompleteResult

The result object from a successful call to the autocomplete.

POST

Autocomplete is a query used to retrieve search suggestions, product suggestions, and content item suggestions as the visitor types. All suggestions are returned with autocorrect automatically applied as well as supporting highlighting hints, compatible with any corrections. A query can be sent on every key-press, but a debounce on 50 ms is recommended to avoid unnecessary requests while still creating an extremely snappy experience. If a query is sent with the search phrase omitted or empty, the returned suggestions will include trending search phrases. Note that the exact contents of the product suggestions depends on which template is used, if any.

Request

application/json;charset=utf-8

AutocompleteRequestSettings

The autocomplete request configuration.
bash

Response

AutocompleteResult

The result object from a successful call to the autocomplete.

Inner Schemas

Badges

BadgeTheme (enum)

ContentFilter

Content filters can be applied to most content listings and are included in the request body for the target listing. Applying a filter will restrict the set of returned content and can only be string value filters e.g. not numeric. Listing multiple attributes to filter on will restrict the content to all conditions (logical AND). When listing values within one attribute, content with any of the listed properties apply (logical OR). In addition, any custom attribute can be used as a value filter, through prefixing the attribute to be filtered with custom., for example custom.season. The following example filters on content having both a specific designer and one or both seasons listed: {"custom.designer": "Langdon","type": "article", "custom.season": ["Winter", "Spring"]}

ContentItem

Object representation of the content item.

ContentList

The object representation of the content list. Content lists are supported by the Search-page, autocomplete and landing-page. To include content lists in a page response, the request body must include a content list configuration.

ContentListSettingsSearch

The content list request configuration.

ContentSuggestion

This feature will most likely be removed in new versions.

CustomAttribute

CustomPrice

Image

The object representation of an image.

ImageEffect (enum)

ImageInfo

The object representation of image information.

Measurement

PhraseSuggestion

Price

ProductBadge

ProductFilter

This feature will most likely be removed in new versions.
A product filter restricting which products that the listing may contain. Supports single values, lists, and (for numerical attributes) ranges. Listing multiple attributes to filter on will restrict the products to all conditions (logical AND). When listing values within one attribute, products with any of the listed properties apply (logical OR). In addition to built-in attributes, it is also possible to filter on custom facets, through prefixing the attribute to be filtered with custom., for example “custom.season”: [“Winter”, “Spring”]. At most 200 attribute values can be supplied per attribute and at most 100 product keys can be picked at once.

ProductGroup

The object representation of the product group result.

Product

The object representation of a product.

RangeAttribute

This feature will most likely be removed in new versions.
A min and max range value object for a specific attribute.

RecentSearch

Source

Swatch

Swatch information is used to generate swatches for different products. The type COLORS is the most common returned type and is accompanied by the actual colours as CSS colour codes. Special colour properties, supported in the data feed such as GOLD, SILVER, MULTI or TRANSPARENT are other possible return types. These are to be used to generate swatches matching these specific properties.

SwatchType (enum)

TypedCustomAttributes

VariantAvailabilityInfo

Represents availability in one store or online.

Variant

The object representation of a variant.
Last modified on September 1, 2026