The content search page query is intended to be used on a separate part of a site, such as an FAQ or a customer service section. A content search page query will return a search result content listing with applicable sort orders and total hits.
A key that uniquely identifies the current visitor. Using UUIDs as keys are recommended.
0b05119e-eeb8-418a-bbfb-defa0dde417e
locale Required
The visitor locale. Must match an available locale identifier on the current market in the data feed.
market Required
The visitor market identifier. Must match the corresponding market identifier in the data feed.
UK
q Required
The executed search query.
shipping
sessionKey Required
A unique key, identifying the session. Using UUIDs as keys are recommended.
0b05119e-eeb8-418a-bbfb-defa0dde417e
touchpoint Required
The visitor's touchpoint. Supported values: DESKTOP, MOBILE.
DESKTOP
limit
The number of content items to list. Defaults to 60 if omitted in the query, the min value is 1 and the max value is 600.
10
notify
A boolean that can be used to disable notifications and behavioural registration for the query.
false
origin
To correctly track and analyse search behaviour, searches that originate from autocomplete suggestions, triggered through did-you-mean, or are actual organic searches are differentiated. Supported values: ORGANIC, DID_YOU_MEAN, UNDO_AUTO_CORRECT, PHRASE_SUGGEST, RELATED_SEARCHES, RECENT_SEARCH.
ORGANIC
skip
The number of content items to skip. Used for pagination, defaults to 0 if omitted in the query.
10
sort
The applied Sort order in the search result. Strongly recommended to omit for initial searches. Only recommended for explicit visitor interaction after initial searches. Supported values: RELEVANCE, NEWEST_FIRST.
NEWEST_FIRST
viewId
A parameter that is used to show the page in either production or preview mode. Can be production or preview. Defaults to production if omitted in the query. For more information, see App Integration. Supported values: PRODUCTION, PREVIEW.
{"autoCorrect":{"originalTotalHits":5,"q":"Jeans"},"didYouMean":[{"q":"shoes"}],"primaryList":{"items":[{"custom":{"tags":[{"id":"78","label":"Guide"},{"id":"223","label":"Jeans"}]},"description":"To wash or not to wash? And how?! Those are questions jeans shoppers are asking.","image":{"alt":"A woman wearing a white t-shirt","caption":"The model is 176 cm tall and is wearing size S","custom":{},"sources":[{"url":"https://cdn.example.com/img/j12_prod.jpg","height":820,"width":420}]},"key":"wash_care","link":"/wash-guide","releaseDate":"2021-10-01T00:00:00Z","ticket":"Oy9mYXNoaW9uL0RFU0tUT1AvQ09OVEVOVF9TRUFSQ0hfUEFHRS9QUklNQVJZX0xJU1Q7Iztjb250ZW50X2tleTtkMDAxOyM7IzsjOyM7","title":"How to wash jeans","type":"article"}],"sort":{"options":[{"id":null,"label":"Relevance"}],"selected":"RELEVANCE"},"totalHits":0},"q":"Jean"}
The content search page query is intended to be used on a separate part of a site, such as an FAQ or a customer service section. A content search page query will return a search result content listing with applicable sort orders and total hits.
A key that uniquely identifies the current visitor. Using UUIDs as keys are recommended.
0b05119e-eeb8-418a-bbfb-defa0dde417e
locale Required
The visitor locale. Must match an available locale identifier on the current market in the data feed.
market Required
The visitor market identifier. Must match the corresponding market identifier in the data feed.
UK
q Required
The executed search query.
shipping
sessionKey Required
A unique key, identifying the session. Using UUIDs as keys are recommended.
0b05119e-eeb8-418a-bbfb-defa0dde417e
touchpoint Required
The visitor's touchpoint. Supported values: DESKTOP, MOBILE.
DESKTOP
limit
The number of content items to list. Defaults to 60 if omitted in the query, the min value is 1 and the max value is 600.
10
notify
A boolean that can be used to disable notifications and behavioural registration for the query.
false
origin
To correctly track and analyse search behaviour, searches that originate from autocomplete suggestions, triggered through did-you-mean, or are actual organic searches are differentiated. Supported values: ORGANIC, DID_YOU_MEAN, UNDO_AUTO_CORRECT, PHRASE_SUGGEST, RELATED_SEARCHES, RECENT_SEARCH.
ORGANIC
skip
The number of content items to skip. Used for pagination, defaults to 0 if omitted in the query.
10
sort
The applied Sort order in the search result. Strongly recommended to omit for initial searches. Only recommended for explicit visitor interaction after initial searches. Supported values: RELEVANCE, NEWEST_FIRST.
NEWEST_FIRST
viewId
A parameter that is used to show the page in either production or preview mode. Can be production or preview. Defaults to production if omitted in the query. For more information, see App Integration. Supported values: PRODUCTION, PREVIEW.
{"autoCorrect":{"originalTotalHits":5,"q":"Jeans"},"didYouMean":[{"q":"shoes"}],"primaryList":{"items":[{"custom":{"tags":[{"id":"78","label":"Guide"},{"id":"223","label":"Jeans"}]},"description":"To wash or not to wash? And how?! Those are questions jeans shoppers are asking.","image":{"alt":"A woman wearing a white t-shirt","caption":"The model is 176 cm tall and is wearing size S","custom":{},"sources":[{"url":"https://cdn.example.com/img/j12_prod.jpg","height":820,"width":420}]},"key":"wash_care","link":"/wash-guide","releaseDate":"2021-10-01T00:00:00Z","ticket":"Oy9mYXNoaW9uL0RFU0tUT1AvQ09OVEVOVF9TRUFSQ0hfUEFHRS9QUklNQVJZX0xJU1Q7Iztjb250ZW50X2tleTtkMDAxOyM7IzsjOyM7","title":"How to wash jeans","type":"article"}],"sort":{"options":[{"id":null,"label":"Relevance"}],"selected":"RELEVANCE"},"totalHits":0},"q":"Jean"}
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"]} Here is a brief description of the filters available:
Name
Type
Description
content_key
string[]
The key(s) of the content items you wish to filter.
Example: ["a1","d2"]
custom.ATTRIBUTE
string
The custom attribute as the name and then the values you wish to filter on. Note that ATTRIBUTE should be replaced with a custom attribute in the data feed.
Example: "abc123"
type
string[]
The type(s) of the content items you wish to filter.
Sort for the most relevant product in the current context, based on set business goals. Default for all primary listings.
NEWEST_FIRST
The newest product first, determined by release date provided in the product feed. The first import date will be used for a product if no release date is provided in the product feed.
PRICE_ASCENDING
Ordered by the selling price of the least expensive variant of a product, low to high.
PRICE_DESCENDING
Ordered by the selling price of the most expensive variant of a product, high to low.
DISCOUNT
Ordered by the discount percentage of the most discounted variant of a product, high to low.
RATING
Ordered by the rating of a product, high to low. Only applicable if rating is supplied in the product feed.
NAME
Ordered by the name of the products. Only applicable if name is supplied in the product feed.
LENGTH_INCREASING
Sort by smallest length.
LENGTH_DECREASING
Sort by largest length.
WIDTH_INCREASING
Sort by smallest width.
WIDTH_DECREASING
Sort by largest width.
HEIGHT_INCREASING
Sort by smallest height.
HEIGHT_DECREASING
Sort by largest height.
DEPTH_INCREASING
Sort by smallest depth.
DEPTH_DECREASING
Sort by largest depth.
VOLUME_INCREASING
Sort by smallest volume.
VOLUME_DECREASING
Sort by largest volume.
WEIGHT_INCREASING
Sort by smallest weight.
WEIGHT_DECREASING
Sort by largest weight.
TITLE
Ordered by the title of the products. Only applicable if title is supplied in the product feed.
×
Copyright
This online publication is intellectual property of Voyado Lund AB. Its contents can be duplicated in part or whole, provided that a copyright label is visibly located on each copy and the copy is used in conjunction with the product described within this document.
All information found in these documents has been compiled with utmost attention to detail. However, this does not guarantee complete accuracy. Neither Voyado Lund AB nor the authors shall be held liable for possible errors or the consequences thereof.
Software and hardware descriptions cited in these documents might be registered trademarks. All trade names are subject to copyright restrictions and may be registered trademarks. Voyado Lund AB essentially adheres to the manufacturer’s spelling. Names of products and trademarks appearing in this document, with or without specific notation, are likewise subject to trademark and trade protection laws and may thus fall under copyright restrictions.