New Arrivals
- 07 Feb 2024
- 1 Minute to read
New Arrivals
- Updated on 07 Feb 2024
- 1 Minute to read
Article Summary
Share feedback
Thanks for sharing your feedback!
Overview
This algorithm brings the products newly added to the website. It directly looks at the catalog and sorts the products based on their creation date. If the product is already in the database, changing the integration type doesn't affect the results. You can use this algorithm on main page to showcase new products.
Your title goes here
For Publisher vertical, updated time is referred for newly released articles.
Endpoint
GET https://recommendation.api.useinsider.com/v2/new-arrivals
Query Parameters
Parameter | Sample Value | Description | Data Type | Required |
---|---|---|---|---|
partnerName | mybrand | Partner Identifier which is assigned by Insider. You can use PartnerID as well. | String | Yes |
locale | us_US | Locale of requested product catalog. | String | Yes |
platform | web | Requested platform. Web comes by default. | Enum | No |
currency | USD | Requested currency of the products. If no value is set, the default currency in your settings is used. | String | Yes |
size | 50 | Required number of items in response. Valid values are 0 to 100. | Integer | No |
categoryList | [“Clothes”, “Skirts”] | Category filter of the products | Array (of string) | No |
filter | Smart Recommender filtering. There can be more than one filter parameter. | String | No | |
details | true | Adds details to the products of the response. | Boolean | No |
shuffle | false | Shuffles the products of the response. | Boolean | No |
getGroupProducts | false | Shows variant products under the products of the response. | Boolean | No |
groupProductsFields | Adds these fields to the variant products’ details. | String | No | |
excludeVariants | true | Exclude variants from response. | Boolean | No |
Sample Example
Sample Request
GET https://recommendation.api.useinsider.com/v2/new-arrivals?partnerName={PartnerName}&locale={Locale}¤cy={currency}&size=2
Sample Response
{
"success": true,
"total": 2,
"types": {
"naop": 2
},
"data": [
"ABC-45678",
"XYZ-1234"
]
}
Fallback Algorithms
If the products come from New Arrivals are not enough to fill the response data, some fallback algorithms below fill it:
- New arrivals of the category including the rightmost item in the categoryList.
Was this article helpful?