New Arrivals

Prev Next

The New Arrivals algorithm brings the products newly added to the website. It directly looks at the catalog and sorts the products based on their creation date. Changing the integration type doesn't affect the results if the product is already in the database. You can use the New Arrivals algorithm on the main page to showcase new products.

For the Publisher vertical, the updated time is referred to for newly released articles.

Endpoint

GET https://recommendation.api.useinsider.com/v2/new-arrivals

Query Parameters

ParameterSample ValueDescriptionData TypeRequired
partnerNamemybrandPartner Identifier assigned by Insider. You can use PartnerID as well.StringYes
localeus_USLocale of requested product catalog.StringYes
platformwebRequested platform. Web comes by default.EnumNo
currencyUSDRequested currency of the products. If no value is set, the default currency in your settings is used.StringYes
size50Required number of items in response. Valid values are 0 to 100.IntegerNo
categoryList[“Clothes”, “Skirts”]Category filter of the productsArray (of string)No
filter
Smart Recommender filtering. There can be more than one filter parameter.StringNo
detailstrueAdds details to the products of the response.BooleanNo
shufflefalseShuffles the products of the response.BooleanNo
getGroupProductsfalseShows variant products under the products of the response.BooleanNo
groupProductsFields
Adds these fields to the variant products’ details.StringNo
excludeVariantstrueExclude variants from the response.BooleanNo
userIdtestUserUser IDStringNo
hptrue, false or 0, 1Makes affinities affect products of the response. The default is false.BooleanNo
excludeViewDay30After how many days viewed products should be excluded.IntegerNo (Can only be used with userId)
excludeViewItem10How many viewed products should be excluded. The default is -1.IntegerNo (Can only be used with userId)
excludePurchaseDay30After how many days purchased products should be excluded. The default is -1.IntegerNo (Can only be used with userId)
excludePurchaseItem10How many purchased products should be excluded. The default is -1.IntegerNo (Can only be used with userId)
productIdABC123CBACurrent product IDStringNo

Sample Request

The sample below displays a request to New Arrivals, an algorithm that recommends products newly added to the website.

GET https://recommendation.api.useinsider.com/v2/new-arrivals?partnerName={PartnerName}&locale={Locale}&currency={currency}&size=2

Sample Response

{
    "success": true,
    "total": 2,
    "types": {
        "naop": 2
    },
    "data": [
        "ABC-45678",
        "XYZ-1234"
    ]
}

Fallback Algorithms

If the products 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.