Chef

Prev Next

Chef is an automated recommendation algorithm that automatically brings the best-mixed strategy combination by testing the most popular items, top sellers, user-based, highest discounted, new arrivals, and trending items algorithms for better conversion rates. In a mixed strategy, you manually choose an algorithm for each slot. Chef, instead, chooses the best combination by evaluating the performance of the algorithms automatically.

Endpoint

GET https://recommendation.api.useinsider.com/v2/chef

Query Parameters

ParameterSample ValueDescriptionData TypeRequired
partnerNamemybrandPartner Identifier which is assigned by Insider. You can use PartnerID as well.StringYes
localeus_USLanguage or region of the site.StringYes
platformwebIt is the requested platform. Its value can be web and app. Web comes by default.EnumNo
currencyUSDShows products with the specified currency.StringYes
userIdtestUserUser IDStringNo
hpfalse, true or 0, 1Makes affinities affect products of the response. The default is false.BooleanNo
categoryList["Tops","Shirts"]Category filter of the products

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
getGroupProductstrueShows 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
excludeViewDay30After how many days viewed products should be excluded. The default is -1.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)
countryItalyRequested country informationStringNo (Only for Location Based Top Sellers usage in Mixed Strategy)
cityMilanRequested city informationStringNo (Only for Location Based Top Sellers usage in Mixed Strategy)
dayLimit7Threshold last update day value for Publisher partners The default is 2 days.IntegerNo
ulvtrue, falseEnables User Last Visit to affect recommendation resultsBooleanNo

Sample Request

The sample below displays a request to Chef, an automated recommendation strategy that picks the best-performing mix (popular items, top sellers, user-based, highest discounted, new arrivals, trending, etc.) per slot—no manual algorithm selection needed.

GET https://recommendation.api.useinsider.com/v2/chef?partnerName={PartnerName}&locale={Locale}&currency={Currency}

Sample Response

{
    "success": true,
    "total": 16,
    "types": {
        "mpop": 14,
        "mvop": 2
    },
    "data": [
        "ABC1234",
        "ABC1243",
        "ABC1234",
        "ABC1235",
        "ABC1237",
        "ABC1230",
        "ABC1263",
        "ABC1209",
        "ABC1256",
        "CBA1234",
        "CBA1233",
        "CBA1236",
        "CBA1239",
        "CBA1221",
        "CBA1209",
        "CBA1247"
    ]
}

Fallback Algorithms

The Chef algorithm doesn't have a specific fallback mechanism; instead, the fallback algorithms are determined by the individual algorithms chosen by the Chef.