Guide
Smart Recommendations

New Arrivals

2min

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

Klevu can power a recommendation banner showcasing the newest products in the store. The most common placements for this banner type are:

Homepage: New Arrivals Show a recommendation banner with the newest products across the entire store.

Category Page: New Arrivals in {Category} Show a banner with the newest products within a specific category.

The newness of each product is determined by an attribute in your catalogue which can be configured via our Klevu Support team. It could be the Product ID or a date field, for example.

The end-point is used for retrieving new arrival product recommendations.
POST
Request
Body Parameters
typeOfRequest
required
String
For this recommendation type, please specify RECS_NEW_ARRIVALS.
categoryPath
optional
String
This is only required when you want to give Category-specific context to a recommendation query. 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.
Request Body (JSON)
PHP
JS
Java
Node.js
Responses
200


Try it here!