Guide
Smart Category Merchandising

Category Product Search

2min

If you haven't gone through the prerequisites and the v2 structure, please have a look at Overview

This is an example how to fetch product from specific category.
POST
Request
Body Parameters
typeOfRequest
String
required
This parameter defines the type of request it is, which should be 'CATNAV' for category merchandising queries. There are other values available, detailed elsewhere in the documentation.
categoryPath
String
required
Specify the name of the category to retrieve results from, in the same case and format as it is indexed with Klevu. For nested categories, use the ; character to separate the hierarchy. For example, for 'Mens > Shoes > Trainers and Sneakers' you would specify: Mens;Shoes;Trainers and Sneakers.
merchandisingVersion
Integer
optional
This is related to Klevu category Merchandising Webhook: https://help.klevu.com/support/solutions/articles/5000892289-klevu-webhook-integration-guide When a webhook for Category Merchandising is received, this field will be included in the request payload. Pass this field when some Merchandising rule is being updated and search-cache bypass is needed.
Request Body (JSON)
PHP
JS
Java
Node.js
Responses
200


Try it here!





Updated 11 Mar 2025
Doc contributor
Doc contributor
Doc contributor
Did this page help you?