Calling the Personalized Searc...

Personalized Category Page Queries

A Personalized Category Page request to the Pesonalized Search API is similar to a Personalized Site Search request, but instead of searching for products based on a search term, a Personalized Category Page request searches for products based on products' category path(s). To send this type of request, change the value of the typeOfRequest key to "CATNAV", and then add the categoryPath key to the query object. The value of categoryPath is the search criterion the returned products must meet.

The response is also similar to a Personalized Site Search response, but it also includes the monetate_category key that indicates each record's product category.

All functions available in Personalized Site Search queries—such as pagination and facets —are available to use in Personalized Category Page queries.

Refer to Omnichannel Personalized Search Action Request for the information you must provide in an Engine API request for a Personalized Category Pages experience configured with a Personalized Search action.

POST
Request
Response
Path Params
name
String
required
The client's account (for example, "a-1db61f7a") as it appears in the value of channel used in the Engine API request to obtain the search token.
instance
String
required
The client's account environment. The value must either be "p" for production or "d" for development.
domain
String
required
The client's domain (for example, "product.monetate.me") as it appears in the value of channel used in the Engine API request to obtain the search token.
Header Parameters
Content-type
String
required
The value must be "application/json."
Body Parameters
searchToken
String
required
A token used to authenticate the search request obtained by sending a request to the Engine API. See "Obtaining a Search Token" in "Calling the Personalized Search API" for more information.
recordQueries
Object
required
The set of parameters that define a Personalized Category Pages request.
Example Personalized Category Page Request
Responses
200