Guide
Smart Recommendations
Customers Also Bought
2 min
if you haven't gone through the prerequisites and the v2 structure, please have a look at overview docid\ czeodl0skcuv 18ipuplr klevu can power a recommendation banner showcasing any products which other customers also purchased, in addition to the current product the most common placements for this banner type are cart customers also bought show a recommendation banner with products other customers also purchased from the store product page customers also bought show a recommendation banner with products other customer bought together with the product currently being viewed tab examples url https eucs19v2 ksearchnet com cs v2 search name customers also bought product recommendations method post request pathparameters queryparameters headerparameters bodydataparameters kind required name typeofrequest type string description for this recommendation type please specify recs also bought kind required name recentobjects type string description the klevu id of the product or products you will use for context klevu will find other products which were viewed in addition to the ones specified in this field formdataparameters results languages id 3xlvmt855lgkjoht0npxg code n meta n qtime 13 n responsecode 200 n n queryresults n n id recsalsobought n meta n qtime 8 n noofresults 12 n totalresultsfound 8 n typeofsearch wildcard and n offset 0 n debugginginformation n notificationcode 1 n searchedterm n apikey klevu 158755634955912036 n ispersonalised false n n records n n color black n discount n hidegroupprices n itemgroupid 5192758132867 n freeshipping n storebasecurrency eur n inventory item id 35904862257283 n price 15 64 n toprice n imageurl https cdn shopify com s files 1 0386 6653 5043 products product image 1315649406 medium jpg?v 1611184245 vid 34322635718787 34322635882627 34322636112003 34322636275843 n currency eur n instock yes n id 34322636275843 n imagehover https cdn shopify com s files 1 0386 6653 5043 products product image 1315649407 medium jpg?v 1611184245 vid 34322636472451 34322636603523 34322636734595 34322636898435 n sku 21417591 black xxl n brand klevu personalisation demo n startprice 14 54 n image https cdn shopify com s files 1 0386 6653 5043 products product image 1315649406 medium jpg?v 1611184245 vid 34322635718787 34322635882627 34322636112003 34322636275843 n deliveryinfo n hideaddtocart n saleprice 15 64 n swatchesinfo variantcolor1 white ;;;; variantcolor3 light gray ;;;; variantcolor2 black ;;;; variantcolor5 coffee ;;;; variantcolor4 wine red ;;;; variantswatchimage2 https cdn shopify com s files 1 0386 6653 5043 t 2 assets black jpg?v 1587554091 ;;;; variantimage3 https cdn shopify com s files 1 0386 6653 5043 products product image 1315649407 medium jpg?v 1611184245 vid 16847190786179 ;;;; variantimage2 https cdn shopify com s files 1 0386 6653 5043 products product image 1315649406 medium jpg?v 1611184245 vid 16847200452739 ;;;; variantid4 34322636996739 ;;;; variantimage5 https cdn shopify com s files 1 0386 6653 5043 products product image 1315649409 medium jpg?v 1611184382 vid 16847236366467 ;;;; variantid5 34322637389955 ;;;; variantimage4 https cdn shopify com s files 1 0386 6653 5043 products product image 1315649408 medium jpg?v 1611184245 vid 16847192424579 ;;;; variantid2 34322635718787 ;;;; variantid3 34322636472451 ;;;; variantimage1 https cdn shopify com s files 1 0386 6653 5043 products product image 1315649405 medium jpg?v 1611184330 vid 16847231287427 ;;;; variantid1 34322634965123 ;;;; n weight n klevu category klevu product;products;;all;;mens sweaters ku kucategory ku n totalvariants 0 n groupprices n url https klevu personalisation demo myshopify com products new autumn mens pullover casual knitted sweaters male turtleneck mans black solid knitwear slim brand clothing sweater n size xxl n name men s pullover casual knitted sweaters n shortdesc gender gender men; closure closure none; ;;;; brand name faddare origin cn origin pattern type solid collar tur n category all;;mens sweaters n typeofrecord klevu product n n n color black n discount n hidegroupprices n itemgroupid 5192757346435 n freeshipping n storebasecurrency eur n inventory item id 35904837419139 n price 36 00 n toprice n imageurl https cdn shopify com s files 1 0386 6653 5043 products product image 1153672939 medium jpg?v 1611184379 vid 34322615861379 34322616189059 34322616647811 34322617139331 34322617565315 34322617925763 n currency eur n instock yes n id 34322617925763 n imagehover https cdn shopify com s files 1 0386 6653 5043 products product image 1153672940 medium jpg?v 1611184282 vid 34322609275011 34322609766531 34322610192515 34322610552963 34322618318979 34322618679427 n sku 30479271 black xxl n brand klevu personalisation demo n startprice n image https cdn shopify com s files 1 0386 6653 5043 products product image 1153672939 medium jpg?v 1611184379 vid 34322615861379 34322616189059 34322616647811 34322617139331 34322617565315 34322617925763 n deliveryinfo n hideaddtocart n saleprice 36 0 n swatchesinfo variantcolor1 gray ;;;; variantcolor3 ivory ;;;; variantcolor2 dark grey ;;;; variantcolor5 gray ;;;; variantcolor4 black ;;;; variantswatchimage3 https cdn shopify com s files 1 0386 6653 5043 t 2 assets ivory png?v 1587554095 ;;;; variantswatchimage4 https cdn shopify com s files 1 0386 6653 5043 t 2 assets black jpg?v 1587554091 ;;;; variantimage3 https cdn shopify com s files 1 0386 6653 5043 products product image 1153672942 medium jpg?v 1611184362 vid 16847232794755 ;;;; variantimage2 https cdn shopify com s files 1 0386 6653 5043 products product image 1153672941 medium jpg?v 1611184324 vid 16847230926979 ;;;; variantid4 34322615861379 ;;;; variantimage5 https cdn shopify com s files 1 0386 6653 5043 products product image 1153672940 medium jpg?v 1611184282 vid 16847228698755 ;;;; variantid5 34322618318979 ;;;; variantimage4 https cdn shopify com s files 1 0386 6653 5043 products product image 1153672939 medium jpg?v 1611184379 vid 16847235842179 ;;;; variantid2 34322611044483 ;;;; variantid3 34322613436547 ;;;; variantimage1 https cdn shopify com s files 1 0386 6653 5043 products product image 1153672940 medium jpg?v 1611184282 vid 16847228698755 ;;;; variantid1 34322609275011 ;;;; n weight n klevu category klevu product;products;;all;;mens sweaters ku kucategory ku n totalvariants 1 n groupprices n url https klevu personalisation demo myshopify com products zogaa men sweaters 2019 brand new warm pullover sweaters man casual knitwear winter men black sweatwer xxxl computer knitted n size xxl n name men sweaters brand new warm pullover sweaters man casual knitwear men sweater computer knitted n shortdesc closure closure none; decoration decoration none; ;;;; gender men style casual material cotton material polyeste n category all;;mens sweaters n typeofrecord klevu product n n n color black n discount n hidegroupprices n itemgroupid 5192753971331 n freeshipping n storebasecurrency eur n price 19 38 n toprice n imageurl https cdn shopify com s files 1 0386 6653 5043 products product image 967372030 medium jpg?v 1611183857 vid 34322486722691 34322486820995 34322486952067 34322487246979 34322487509123 n currency eur n instock yes n id 34322486952067 n imagehover https cdn shopify com s files 1 0386 6653 5043 products product image 967372030 medium jpg?v 1611183857 vid 34322486722691 34322486820995 34322486952067 34322487246979 34322487509123 n sku 26134087 black xl n closure single breasted n brand klevu personalisation demo n startprice 17 38 n image https cdn shopify com s files 1 0386 6653 5043 products product image 967372030 medium jpg?v 1611183857 vid 34322486722691 34322486820995 34322486952067 34322487246979 34322487509123 n deliveryinfo n hideaddtocart n saleprice 19 38 n swatchesinfo variantcolor1 black ;;;; variantcolor3 white ;;;; variantcolor2 red ;;;; variantswatchimage1 https cdn shopify com s files 1 0386 6653 5043 t 2 assets black jpg?v 1587554091 ;;;; variantswatchimage2 https cdn shopify com s files 1 0386 6653 5043 t 2 assets red png?v 1587554100 ;;;; variantimage3 https cdn shopify com s files 1 0386 6653 5043 products product image 967372032 medium jpg?v 1611184290 vid 16847229059203 ;;;; variantimage2 https cdn shopify com s files 1 0386 6653 5043 products product image 967372031 medium jpg?v 1611183968 vid 16847195799683 ;;;; variantid2 34322487738499 ;;;; variantid3 34322489639043 ;;;; variantimage1 https cdn shopify com s files 1 0386 6653 5043 products product image 967372030 medium jpg?v 1611183857 vid 16847173943427 ;;;; variantid1 34322486722691 ;;;; n weight n klevu category klevu product;products;;all;;mens shirts ku kucategory ku n totalvariants 0 n groupprices n url https klevu personalisation demo myshopify com products 2019 new mens chinese vintage shirt mandarin collar slim fit short sleeves cotton linen shirt white red black casual shirt tops n fabric broadcloth n name new men s chinese vintage shirt mandarin collar slim fit short sleeves cotton linen shirt casual shirt tops n shortdesc fabric fabric broadcloth; closure closure single breasted; ;;;; gender men item type shirts shirts type casual shirts mate n category all;;mens shirts n typeofrecord klevu product n n n color black n discount n hidegroupprices n itemgroupid 5192759214211 n freeshipping n storebasecurrency eur n price 40 10 n toprice n imageurl https cdn shopify com s files 1 0386 6653 5043 products product image 938627119 medium jpg?v 1611183943 vid 34322649088131 34322650267779 34322651906179 34322653216899 34322654363779 34322655576195 n currency eur n instock yes n id 34322655576195 n imagehover https cdn shopify com s files 1 0386 6653 5043 products product image 938627119 medium jpg?v 1611183943 vid 34322649088131 34322650267779 34322651906179 34322653216899 34322654363779 34322655576195 n sku 25093720 black xl n brand klevu personalisation demo n closure single breasted n decoration pockets n startprice n image https cdn shopify com s files 1 0386 6653 5043 products product image 938627119 medium jpg?v 1611183943 vid 34322649088131 34322650267779 34322651906179 34322653216899 34322654363779 34322655576195 n deliveryinfo n hideaddtocart n saleprice 40 1 n swatchesinfo variantcolor1 black ;;;; variantcolor3 darkblue ;;;; variantcolor2 brown ;;;; variantcolor5 gray ;;;; variantswatchimage1 https cdn shopify com s files 1 0386 6653 5043 t 2 assets black jpg?v 1587554091 ;;;; variantcolor4 darkgray ;;;; variantcolor6 red ;;;; variantimage6 https cdn shopify com s files 1 0386 6653 5043 products product image 938627124 medium jpg?v 1611183993 vid 16847200845955 ;;;; variantswatchimage6 https cdn shopify com s files 1 0386 6653 5043 t 2 assets red png?v 1587554100 ;;;; variantimage3 https cdn shopify com s files 1 0386 6653 5043 products product image 938627120 medium jpg?v 1611184005 vid 16847203238019 ;;;; variantid6 34322680545411 ;;;; variantimage2 https cdn shopify com s files 1 0386 6653 5043 products product image 938627121 medium jpg?v 1611183969 vid 16847195996291 ;;;; variantimage5 https cdn shopify com s files 1 0386 6653 5043 products product image 938627122 medium jpg?v 1611184385 vid 16847237873795 ;;;; variantid4 34322669961347 ;;;; variantimage4 https cdn shopify com s files 1 0386 6653 5043 products product image 938627123 medium jpg?v 1611183943 vid 16847186886787 ;;;; variantid5 34322675400835 ;;;; variantid2 34322656526467 ;;;; variantid3 34322663571587 ;;;; variantimage1 https cdn shopify com s files 1 0386 6653 5043 products product image 938627119 medium jpg?v 1611183943 vid 16847185707139 ;;;; variantid1 34322649088131 ;;;; n weight n klevu category klevu product;products;;all;;mens sweaters ku kucategory ku n totalvariants 0 n groupprices n url https klevu personalisation demo myshopify com products 2019 autumn and winter models high collar cardigan sweater men new mens plus velvet thick white sweater coat personality retro n name high collar cardigan sweater men n shortdesc closure closure single breasted; decoration decoration pockets; ;;;; gender men technics computer knitted thickness standard n category all;;mens sweaters n typeofrecord klevu product n n n gender men n color black n discount n hidegroupprices n itemgroupid 5192756035715 n freeshipping n storebasecurrency eur n price 29 48 n toprice n imageurl https cdn shopify com s files 1 0386 6653 5043 products product image 1325145441 medium jpg?v 1611184270 vid 34322535186563 34322536038531 34322536956035 34322537971843 34322538856579 n currency eur n instock yes n id 34322535186563 n imagehover https cdn shopify com s files 1 0386 6653 5043 products product image 1325145443 medium jpg?v 1611183900 vid 34322524864643 34322525782147 34322526994563 34322528141443 34322529288323 n sku 31718415 black us size xxl n closure single breasted n brand klevu personalisation demo n startprice 24 06 n image https cdn shopify com s files 1 0386 6653 5043 products product image 1325145441 medium jpg?v 1611184270 vid 34322535186563 34322536038531 34322536956035 34322537971843 34322538856579 n deliveryinfo n hideaddtocart n saleprice 29 48 n swatchesinfo variantcolor1 white ;;;; variantcolor3 red ;;;; variantcolor2 sliver ;;;; variantcolor5 royal blue ;;;; variantcolor4 gold ;;;; variantswatchimage3 https cdn shopify com s files 1 0386 6653 5043 t 2 assets red png?v 1587554100 ;;;; variantcolor6 black ;;;; variantswatchimage6 https cdn shopify com s files 1 0386 6653 5043 t 2 assets black jpg?v 1587554091 ;;;; variantimage6 https cdn shopify com s files 1 0386 6653 5043 products product image 1325145441 medium jpg?v 1611184270 vid 16847227879555 ;;;; variantid6 34322535186563 ;;;; variantimage3 https cdn shopify com s files 1 0386 6653 5043 products product image 1325145444 medium jpg?v 1611184262 vid 16847226503299 ;;;; variantimage2 https cdn shopify com s files 1 0386 6653 5043 products product image 1325145445 medium jpg?v 1611184259 vid 16847225946243 ;;;; variantid4 34322524864643 ;;;; variantimage5 https cdn shopify com s files 1 0386 6653 5043 products product image 1325145442 medium jpg?v 1611184319 vid 16847230730371 ;;;; variantid5 34322530566275 ;;;; variantimage4 https cdn shopify com s files 1 0386 6653 5043 products product image 1325145443 medium jpg?v 1611183900 vid 16847175417987 ;;;; variantid2 34322515067011 ;;;; variantid3 34322519720067 ;;;; variantimage1 https cdn shopify com s files 1 0386 6653 5043 products product image 1325145446 medium jpg?v 1611183977 vid 16847197798531 ;;;; variantid1 34322508251267 ;;;; n weight n klevu category klevu product;products;;all;;mens shirts ku kucategory ku n totalvariants 0 n groupprices n url https klevu personalisation demo myshopify com products royal blue silk satin shirt men 2019 luxury brand new slim fit mens dress shirts wedding party casual male casual shirt chemise n fabric broadcloth n name royal silk satin shirt men new slim fit men s dress shirts wedding party casual male casual shirt chemise n shortdesc gender gender men; fabric fabric broadcloth; closure closure single breasted; ;;;; brand name parklees origin cn origin material rayon n category all;;mens shirts n typeofrecord klevu product n n n color black n discount n hidegroupprices n itemgroupid 5192757018755 n freeshipping n storebasecurrency eur n inventory item id 35904831127683 n price 32 84 n toprice n imageurl https cdn shopify com s files 1 0386 6653 5043 products product image 1391664999 medium jpg?v 1611184219 vid 34322605768835 34322606850179 34322607210627 34322607636611 34322608095363 n currency eur n instock yes n id 34322606850179 n imagehover https cdn shopify com s files 1 0386 6653 5043 products product image 1391664999 medium jpg?v 1611184219 vid 34322605768835 34322606850179 34322607210627 34322607636611 34322608095363 n sku 36576693 black xxl n brand klevu personalisation demo n startprice 27 92 n image https cdn shopify com s files 1 0386 6653 5043 products product image 1391664999 medium jpg?v 1611184219 vid 34322605768835 34322606850179 34322607210627 34322607636611 34322608095363 n deliveryinfo n hideaddtocart n saleprice 32 84 n swatchesinfo variantcolor1 gray ;;;; variantcolor3 gray ;;;; variantcolor2 navy blue ;;;; variantcolor5 gray ;;;; variantcolor4 black ;;;; variantcolor6 black ;;;; variantswatchimage4 https cdn shopify com s files 1 0386 6653 5043 t 2 assets black jpg?v 1587554091 ;;;; variantswatchimage6 https cdn shopify com s files 1 0386 6653 5043 t 2 assets black jpg?v 1587554091 ;;;; variantimage6 https cdn shopify com s files 1 0386 6653 5043 products product image 1391664999 medium jpg?v 1611184219 vid 16847189606531 ;;;; variantid6 34322606850179 ;;;; variantimage3 https cdn shopify com s files 1 0386 6653 5043 products product image 1391664998 medium jpg?v 1611184300 vid 16847229583491 ;;;; variantimage2 https cdn shopify com s files 1 0386 6653 5043 products product image 1391665000 medium jpg?v 1611184219 vid 16847199076483 ;;;; variantid4 34322605768835 ;;;; variantimage5 https cdn shopify com s files 1 0386 6653 5043 products product image 1391664998 medium jpg?v 1611184300 vid 16847229583491 ;;;; variantid5 34322606030979 ;;;; variantimage4 https cdn shopify com s files 1 0386 6653 5043 products product image 1391664999 medium jpg?v 1611184219 vid 16847189606531 ;;;; variantid2 34322603999363 ;;;; variantid3 34322605375619 ;;;; variantimage1 https cdn shopify com s files 1 0386 6653 5043 products product image 1391664998 medium jpg?v 1611184300 vid 16847229583491 ;;;; variantid1 34322603671683 ;;;; n weight n klevu category klevu product;products;;all;;mens sweaters ku kucategory ku n totalvariants 0 n groupprices n url https klevu personalisation demo myshopify com products 2019 autumn mens sweater pullovers simple style knitted v neck sweater jumpers thin male knitwear blue black m 3xl men clothes n size xxl n name men s sweater pullovers simple style knitted v neck sweater jumpers thin male knitwear m men clothes n shortdesc gender gender men youth;men ; season season spring;autumn;winter; decoration decoration none; closure closure zipper; ;;;; brand name univos kuni model number j761 n category all;;mens sweaters n typeofrecord klevu product n n n color black n discount n hidegroupprices n itemgroupid 5192758231171 n freeshipping n storebasecurrency eur n inventory item id 35904867401859 n price 38 28 n toprice n imageurl https cdn shopify com s files 1 0386 6653 5043 products product image 939920545 medium jpg?v 1611183989 vid 34322640666755 34322640699523 34322640732291 34322640765059 34322640797827 n currency eur n instock yes n id 34322640666755 n imagehover https cdn shopify com s files 1 0386 6653 5043 products product image 939920546 medium jpg?v 1611183942 vid 34322640830595 34322640863363 34322640896131 34322640928899 34322640961667 n sku 9352560 black m n brand klevu personalisation demo n startprice 38 28 n image https cdn shopify com s files 1 0386 6653 5043 products product image 939920545 medium jpg?v 1611183989 vid 34322640666755 34322640699523 34322640732291 34322640765059 34322640797827 n deliveryinfo n hideaddtocart n saleprice 38 28 n swatchesinfo variantcolor1 black ;;;; variantcolor3 red ;;;; variantcolor2 dark blue ;;;; variantswatchimage1 https cdn shopify com s files 1 0386 6653 5043 t 2 assets black jpg?v 1587554091 ;;;; variantswatchimage3 https cdn shopify com s files 1 0386 6653 5043 t 2 assets red png?v 1587554100 ;;;; variantimage3 https cdn shopify com s files 1 0386 6653 5043 products product image 939920547 medium jpg?v 1611183997 vid 16847201796227 ;;;; variantimage2 https cdn shopify com s files 1 0386 6653 5043 products product image 939920546 medium jpg?v 1611183942 vid 16847190360195 ;;;; variantid2 34322640830595 ;;;; variantid3 34322640994435 ;;;; variantimage1 https cdn shopify com s files 1 0386 6653 5043 products product image 939920545 medium jpg?v 1611183989 vid 16847199993987 ;;;; variantid1 34322640666755 ;;;; n weight n klevu category klevu product;products;;all;;mens sweaters ku kucategory ku n totalvariants 1 n groupprices n url https klevu personalisation demo myshopify com products woodvoice brand mens fashion sweater solid color male high quality brand street wear pullover sweaters blue black red hot sale n size m n name woodvoice men s fashion sweater n shortdesc size size m l xl xxl xxxl; closure closure none; decoration decoration none; ;;;; gender men style casual material acrylic n category all;;mens sweaters n typeofrecord klevu product n n n gender men men n color black n discount n hidegroupprices n itemgroupid 5192754430083 n freeshipping n storebasecurrency eur n price 16 12 n toprice n imageurl https cdn shopify com s files 1 0386 6653 5043 products product image 1411601388 medium jpg?v 1611184228 vid 34322507530371 34322508185731 34322509201539 34322510151811 34322511167619 34322512183427 34322549244035 n currency eur n instock no n id 34322509201539 n imagehover https cdn shopify com s files 1 0386 6653 5043 products product image 1411601407 medium jpg?v 1611184228 n sku 17014311 black l n brand klevu personalisation demo n closure single breasted single button n startprice 14 44 n image https cdn shopify com s files 1 0386 6653 5043 products product image 1411601388 medium jpg?v 1611184228 vid 34322507530371 34322508185731 34322509201539 34322510151811 34322511167619 34322512183427 34322549244035 n deliveryinfo n hideaddtocart n saleprice 16 12 n swatchesinfo variantcolor1 wine ;;;; variantcolor3 black ;;;; variantcolor2 green ;;;; variantcolor5 j264green ;;;; variantcolor4 navy ;;;; variantswatchimage3 https cdn shopify com s files 1 0386 6653 5043 t 2 assets black jpg?v 1587554091 ;;;; variantcolor6 purple ;;;; variantimage6 https cdn shopify com s files 1 0386 6653 5043 products product image 1411601399 medium jpg?v 1611184294 vid 16847229288579 ;;;; variantimage3 https cdn shopify com s files 1 0386 6653 5043 products product image 1411601388 medium jpg?v 1611184228 vid 16847185674371 ;;;; variantid6 34322524569731 ;;;; variantimage2 https cdn shopify com s files 1 0386 6653 5043 products product image 1411601394 medium jpg?v 1611184228 vid 16847196192899 ;;;; variantimage5 https cdn shopify com s files 1 0386 6653 5043 products product image 1411601403 medium jpg?v 1611184228 vid 16847191769219 ;;;; variantid4 34322513330307 ;;;; variantimage4 https cdn shopify com s files 1 0386 6653 5043 products product image 1411601408 medium jpg?v 1611184228 vid 16847191474307 ;;;; variantid5 34322518999171 ;;;; variantid2 34322501435523 ;;;; variantid3 34322507530371 ;;;; variantimage1 https cdn shopify com s files 1 0386 6653 5043 products product image 1411601401 medium jpg?v 1611184267 vid 16847227355267 ;;;; variantid1 34322492293251 ;;;; n weight n klevu category klevu product;products;;all;;mens shirts ku kucategory ku n totalvariants 0 n groupprices n url https klevu personalisation demo myshopify com products jeetoo white men shirt 2019 new business mens regular fit dress shirt male solid long sleeves casua wedding shirt plus size 3xl n fabric broadcloth broadcloth n name jeetoo men shirt new business men s regular fit dress shirt male solid long sleeves casual wedding shirt n shortdesc gender gender men men; fabric fabric broadcloth broadcloth; closure closure single breasted single button; ;;;; brand name jeetoo origin cn origin material n category all;;mens shirts n typeofrecord klevu product n n n filters n n n language 200 customlabel selectedlanguageid 3xlvmt855lgkjoht0npxg examples languages id jsu7dlyyj euh63ysp682 code n recordqueries n n id recsalsobought n typeofrequest recs also bought n settings n context n recentobjects n n typeofrecord klevu product n records n n id 34322443665539 n n n id 34322633916547 n n n n n n typeofrecords n klevu product n n n n n context n apikeys n klevu 158755634955912036 n n n language json customlabel request body json id 8yg33te4jzfowp5yebmjh code ?php n n curl curl init ; n ncurl setopt array curl array n curlopt url https eucs19v2 ksearchnet com cs v2 search n curlopt returntransfer true n curlopt encoding n curlopt maxredirs 10 n curlopt timeout 0 n curlopt followlocation true n curlopt http version curl http version 1 1 n curlopt customrequest post n curlopt postfields n recordqueries n n id recsalsobought n typeofrequest recs also bought n settings n context n recentobjects n n typeofrecord klevu product n records n n id 34322443665539 n n n id 34322633916547 n n n n n n typeofrecords n klevu product n n n n n context n apikeys n klevu 158755634955912036 n n n n curlopt httpheader array n content type application json n n ; n n response curl exec curl ; n ncurl close curl ; necho response; n language php customlabel id wcdgtssqaxfiwklk2v174 code var data json stringify recordqueries id recsalsobought typeofrequest recs also bought settings context recentobjects typeofrecord klevu product records id 34322443665539 id 34322633916547 typeofrecords klevu product context apikeys klevu 158755634955912036 ; n nvar xhr new xmlhttprequest ; nxhr withcredentials false; n nxhr addeventlistener readystatechange function n if this readystate 4 n console log this responsetext ; n n ; n nxhr open post https eucs19v2 ksearchnet com cs v2 search ; nxhr setrequestheader content type application json ; n nxhr send data ; language javascript customlabel id npw0nije j5r9i5w4bgn0 code okhttpclient client new okhttpclient newbuilder n build ; nmediatype mediatype mediatype parse application json ; nrequestbody body requestbody create mediatype n recordqueries n n id recsalsobought n typeofrequest recs also bought n settings n context n recentobjects n n typeofrecord klevu product n records n n id 34322443665539 n n n id 34322633916547 n n n n n n typeofrecords n klevu product n n n n n context n apikeys n klevu 158755634955912036 n n n ; nrequest request new request builder n url https eucs19v2 ksearchnet com cs v2 search n method post body n addheader content type application json n build ; nresponse response client newcall request execute ; language java customlabel id 0ih7niekhhfml7cry51j code var request require request ; nvar options n method post n url https eucs19v2 ksearchnet com cs v2 search n headers n content type application json n n body json stringify recordqueries id recsalsobought typeofrequest recs also bought settings context recentobjects typeofrecord klevu product records id 34322443665539 id 34322633916547 typeofrecords klevu product context apikeys klevu 158755634955912036 n n ; nrequest options function error response n if error throw new error error ; n console log response body ; n ; n language nodejs customlabel selectedlanguageid wcdgtssqaxfiwklk2v174 description the end point is used for retrieving customers also bought product recommendations currentnewparameter label body parameter value bodydataparameters try it here!