Guide
Smart Recommendations
Visually Similar
3 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 other products from the catalog which are visually similar to the product currently being viewed this type of recommendation can be used on visually similar recommendation is currently only available for furniture domain product page visually similar products show a recommendation banner with products that are visually similar to the primary image of the product currently being viewed { "tab" "examples", "url" "https //eucs19v2 ksearchnet com/cs/v2/search", "name" "visually similar product recommendations", "method" "post", "request" { "pathparameters" \[], "queryparameters" \[], "headerparameters" \[], "bodydataparameters" \[ { "kind" "required", "name" "typeofrequest", "type" "string", "description" "for this recommendation type, please specify recs similar images " }, { "kind" "required", "name" "sourceobjects", "type" "object", "description" "the klevu id of the product you will use for context klevu will find other visually similar products to the primary image of the product specified in this field " } ], "formdataparameters" \[] }, "results" { "languages" \[ { "id" "3xlvmt855lgkjoht0npxg", "code" "{\n \\"meta\\" {\n \\"qtime\\" 529,\n \\"responsecode\\" 200\n },\n \\"queryresults\\" \[\n {\n \\"id\\" \\"klevurecsitemlist\\",\n \\"meta\\" {\n \\"qtime\\" 125,\n \\"noofresults\\" 10,\n \\"totalresultsfound\\" 16,\n \\"typeofsearch\\" \\"wildcard and\\",\n \\"offset\\" 0,\n \\"debugginginformation\\" {},\n \\"notificationcode\\" 1,\n \\"searchedterm\\" \\" \\",\n \\"apikey\\" \\"klevu 164270249063714699\\",\n \\"ispersonalised\\" false\n },\n \\"records\\" \[\n {\n \\"discount\\" \\"\\",\n \\"hidegroupprices\\" \\"\\",\n \\"type\\" \\"furniture\\",\n \\"itemgroupid\\" \\"6920770322477\\",\n \\"freeshipping\\" \\"\\",\n \\"storebasecurrency\\" \\"usd\\",\n \\"price\\" \\"2099 00\\",\n \\"toprice\\" \\"\\",\n \\"imageurl\\" \\"https //cdn shopify com/s/files/1/0564/3730/9485/products/226507 001 frt 1 medium jpg?v=1642666285\\",\n \\"currency\\" \\"usd\\",\n \\"instock\\" \\"yes\\",\n \\"id\\" \\"40225085521965\\",\n \\"imagehover\\" \\"https //cdn shopify com/s/files/1/0564/3730/9485/products/226507 001 prm 1 medium jpg?v=1642666285\\",\n \\"sku\\" \\"l0461529\\",\n \\"brand\\" \\"lulu and georgia\\",\n \\"startprice\\" \\"\\",\n \\"image\\" \\"https //cdn shopify com/s/files/1/0564/3730/9485/products/226507 001 frt 1 medium jpg?v=1642666285\\",\n \\"deliveryinfo\\" \\"\\",\n \\"hideaddtocart\\" \\"\\",\n \\"saleprice\\" \\"2099 0\\",\n \\"swatchesinfo\\" \\"\\",\n \\"weight\\" \\"\\",\n \\"klevu category\\" \\"klevu product;products;;furniture dressers;;furniture all @ku\@kucategory\@ku@\\",\n \\"totalvariants\\" 0,\n \\"groupprices\\" \\"\\",\n \\"url\\" \\"https //danish store livetest3 myshopify com/products/maeve dresser\\",\n \\"name\\" \\"maeve dresser\\",\n \\"shortdesc\\" \\"simply inspired, this solid dry washed poplar dresser combines clean lines with dovetail joints in a shaker inspired design this wood dresser is finished in a light neutral tone and fitted with iron and leather hardware and six spacious drawers i\\",\n \\"category\\" \\"furniture dressers;;furniture all\\",\n \\"typeofrecord\\" \\"klevu product\\"\n },\n {\n \\"discount\\" \\"\\",\n \\"hidegroupprices\\" \\"\\",\n \\"type\\" \\"furniture\\",\n \\"itemgroupid\\" \\"6967619584045\\",\n \\"freeshipping\\" \\"\\",\n \\"storebasecurrency\\" \\"usd\\",\n \\"price\\" \\"9140 00\\",\n \\"toprice\\" \\"\\",\n \\"imageurl\\" \\"https //cdn shopify com/s/files/1/0564/3730/9485/products/mcqueen 8 drawer chest by matthew hilton medium jpg?v=1646906983\\",\n \\"model\\" \\"12 drawers\\",\n \\"currency\\" \\"usd\\",\n \\"instock\\" \\"yes\\",\n \\"id\\" \\"40412686188589\\",\n \\"imagehover\\" \\"https //cdn shopify com/s/files/1/0564/3730/9485/products/368mcqueenlargechestbymatthewhiltonindanishoiledwalnut whitebkgrnd medium png?v=1646906983\\",\n \\"sku\\" \\"ha159951 1\\",\n \\"brand\\" \\"de la espada\\",\n \\"startprice\\" \\"6020 0\\",\n \\"image\\" \\"https //cdn shopify com/s/files/1/0564/3730/9485/products/mcqueen 8 drawer chest by matthew hilton medium jpg?v=1646906983\\",\n \\"deliveryinfo\\" \\"\\",\n \\"hideaddtocart\\" \\"\\",\n \\"saleprice\\" \\"9140 0\\",\n \\"wood finish\\" \\"walnut/white oiled\\",\n \\"swatchesinfo\\" \\"\\",\n \\"weight\\" \\"\\",\n \\"klevu category\\" \\"klevu product;products;;furniture all @ku\@kucategory\@ku@\\",\n \\"totalvariants\\" 19,\n \\"groupprices\\" \\"\\",\n \\"url\\" \\"https //danish store livetest3 myshopify com/products/mcqueen chests by matthew hilton\\",\n \\"tags\\" \\"designed by matthew hilton, made to order 12\\",\n \\"name\\" \\"mcqueen chest by matthew hilton\\",\n \\"shortdesc\\" \\"mcqueen chests are strong, elegant and down to earth and their wide body and numerous drawers provide maximum storage space the drawers are detailed with dovetail joinery, cast iron handles, and soft closing piston action details\\",\n \\"category\\" \\"furniture all\\",\n \\"typeofrecord\\" \\"klevu product\\"\n },\n {\n \\"discount\\" \\"\\",\n \\"hidegroupprices\\" \\"\\",\n \\"type\\" \\"furniture\\",\n \\"itemgroupid\\" \\"6967621287981\\",\n \\"freeshipping\\" \\"\\",\n \\"storebasecurrency\\" \\"usd\\",\n \\"price\\" \\"2745 00\\",\n \\"toprice\\" \\"\\",\n \\"imageurl\\" \\"https //cdn shopify com/s/files/1/0564/3730/9485/products/mcqueen bedside chest by matthew hilton medium jpg?v=1646907007\\",\n \\"finish\\" \\"walnut/oiled\\",\n \\"currency\\" \\"usd\\",\n \\"instock\\" \\"yes\\",\n \\"id\\" \\"40412689137709\\",\n \\"imagehover\\" \\"https //cdn shopify com/s/files/1/0564/3730/9485/products/mcqueen bedside hepburn bed hs medium jpg?v=1646907007\\",\n \\"sku\\" \\"ha102487\\",\n \\"brand\\" \\"de la espada\\",\n \\"startprice\\" \\"2285 0\\",\n \\"image\\" \\"https //cdn shopify com/s/files/1/0564/3730/9485/products/mcqueen bedside chest by matthew hilton medium jpg?v=1646907007\\",\n \\"deliveryinfo\\" \\"\\",\n \\"hideaddtocart\\" \\"\\",\n \\"saleprice\\" \\"2745 0\\",\n \\"swatchesinfo\\" \\"\\",\n \\"weight\\" \\"\\",\n \\"klevu category\\" \\"klevu product;products;;furniture beds;;furniture all @ku\@kucategory\@ku@\\",\n \\"totalvariants\\" 6,\n \\"groupprices\\" \\"\\",\n \\"url\\" \\"https //danish store livetest3 myshopify com/products/mcqueen bedside chest by matthew hilton\\",\n \\"tags\\" \\"designed by matthew hilton, made to order 12\\",\n \\"name\\" \\"mcqueen bedside chest by matthew hilton\\",\n \\"shortdesc\\" \\"mcqueen bedside chest is strong, elegant and down to earth, its two drawers provide the ideal space for objects needed close to the bed drawers are detailed with dovetail joinery, cast iron handles, and soft closing piston action manufact\\",\n \\"category\\" \\"furniture beds;;furniture all\\",\n \\"typeofrecord\\" \\"klevu product\\"\n },\n {\n \\"discount\\" \\"\\",\n \\"hidegroupprices\\" \\"\\",\n \\"type\\" \\"furniture\\",\n \\"itemgroupid\\" \\"6968498618413\\",\n \\"freeshipping\\" \\"\\",\n \\"storebasecurrency\\" \\"usd\\",\n \\"price\\" \\"1486 00\\",\n \\"toprice\\" \\"\\",\n \\"imageurl\\" \\"https //cdn shopify com/s/files/1/0564/3730/9485/products/square website haus london montana carry3 medium jpg?v=1646947879\\",\n \\"finish\\" \\"new white\\",\n \\"currency\\" \\"usd\\",\n \\"instock\\" \\"yes\\",\n \\"id\\" \\"40415995920429\\",\n \\"imagehover\\" \\"https //cdn shopify com/s/files/1/0564/3730/9485/products/square website haus london montana carry4 medium jpg?v=1646947879\\",\n \\"sku\\" \\"\\",\n \\"brand\\" \\"montana furniture\\",\n \\"startprice\\" \\"\\",\n \\"image\\" \\"https //cdn shopify com/s/files/1/0564/3730/9485/products/square website haus london montana carry3 medium jpg?v=1646947879\\",\n \\"deliveryinfo\\" \\"\\",\n \\"hideaddtocart\\" \\"\\",\n \\"saleprice\\" \\"1486 0\\",\n \\"swatchesinfo\\" \\"\\",\n \\"weight\\" \\"\\",\n \\"klevu category\\" \\"klevu product;products;;furniture all @ku\@kucategory\@ku@\\",\n \\"totalvariants\\" 4,\n \\"groupprices\\" \\"\\",\n \\"url\\" \\"https //danish store livetest3 myshopify com/products/carry chest of drawers by montana furniture\\",\n \\"tags\\" \\"designed by peter j lassen, lead time 5, new arrivals\\",\n \\"mounting type\\" \\"free standing legs\\",\n \\"name\\" \\"carry chest of drawers by montana furniture\\",\n \\"shortdesc\\" \\"carry is a modern and timeless chest of three drawers providing the ideal storage solution for the living room, the home office or the bedroom carry is a chest that consists of three drawers in one row we have listed the free standing uni\\",\n \\"category\\" \\"furniture all\\",\n \\"typeofrecord\\" \\"klevu product\\"\n },\n {\n \\"discount\\" \\"\\",\n \\"hidegroupprices\\" \\"\\",\n \\"type\\" \\"furniture\\",\n \\"itemgroupid\\" \\"6967750656045\\",\n \\"freeshipping\\" \\"\\",\n \\"storebasecurrency\\" \\"usd\\",\n \\"price\\" \\"5280 00\\",\n \\"toprice\\" \\"\\",\n \\"imageurl\\" \\"https //cdn shopify com/s/files/1/0564/3730/9485/products/mc queen low chest hs medium jpg?v=1646909088\\",\n \\"currency\\" \\"usd\\",\n \\"instock\\" \\"yes\\",\n \\"id\\" \\"40412936536109\\",\n \\"imagehover\\" \\"https //cdn shopify com/s/files/1/0564/3730/9485/products/mc queen low chest2 hs medium jpg?v=1646909088\\",\n \\"sku\\" \\"ha112590\\",\n \\"brand\\" \\"de la espada\\",\n \\"startprice\\" \\"5280 0\\",\n \\"image\\" \\"https //cdn shopify com/s/files/1/0564/3730/9485/products/mc queen low chest hs medium jpg?v=1646909088\\",\n \\"deliveryinfo\\" \\"\\",\n \\"hideaddtocart\\" \\"\\",\n \\"saleprice\\" \\"5280 0\\",\n \\"swatchesinfo\\" \\"\\",\n \\"weight\\" \\"\\",\n \\"klevu category\\" \\"klevu product;products;;furniture all @ku\@kucategory\@ku@\\",\n \\"totalvariants\\" 2,\n \\"groupprices\\" \\"\\",\n \\"url\\" \\"https //danish store livetest3 myshopify com/products/mcqueen low chest by matthew hilton\\",\n \\"tags\\" \\"designed by matthew hilton, made to order 12\\",\n \\"name\\" \\"mcqueen low chest by matthew hilton\\",\n \\"shortdesc\\" \\"mcqueen chests provide ample storage in classic forms with a beautiful contrast of materials the solid wood body is punctuated with cast iron drawer pulls and feet each drawer front is made from a single plank of timber, carefully chosen for its\\",\n \\"category\\" \\"furniture all\\",\n \\"typeofrecord\\" \\"klevu product\\"\n },\n {\n \\"discount\\" \\"\\",\n \\"hidegroupprices\\" \\"\\",\n \\"type\\" \\"furniture\\",\n \\"itemgroupid\\" \\"6967620894765\\",\n \\"freeshipping\\" \\"\\",\n \\"storebasecurrency\\" \\"usd\\",\n \\"price\\" \\"5020 00\\",\n \\"toprice\\" \\"\\",\n \\"imageurl\\" \\"https //cdn shopify com/s/files/1/0564/3730/9485/products/369mcqueentallchestbymatthewhiltonindanishoiledwalnut front whitebkgrnd medium png?v=1646907003\\",\n \\"wood\\" \\"ash/oiled\\",\n \\"currency\\" \\"usd\\",\n \\"instock\\" \\"yes\\",\n \\"id\\" \\"40412687990829\\",\n \\"imagehover\\" \\"https //cdn shopify com/s/files/1/0564/3730/9485/products/369mcqueentallchestbymatthewhiltonindanishoiledwalnut whitebkgrnd medium png?v=1646907003\\",\n \\"sku\\" \\"ha112591\\",\n \\"brand\\" \\"de la espada\\",\n \\"startprice\\" \\"5020 0\\",\n \\"image\\" \\"https //cdn shopify com/s/files/1/0564/3730/9485/products/369mcqueentallchestbymatthewhiltonindanishoiledwalnut front whitebkgrnd medium png?v=1646907003\\",\n \\"deliveryinfo\\" \\"\\",\n \\"hideaddtocart\\" \\"\\",\n \\"saleprice\\" \\"5020 0\\",\n \\"swatchesinfo\\" \\"\\",\n \\"weight\\" \\"\\",\n \\"klevu category\\" \\"klevu product;products;;furniture all @ku\@kucategory\@ku@\\",\n \\"totalvariants\\" 0,\n \\"groupprices\\" \\"\\",\n \\"url\\" \\"https //danish store livetest3 myshopify com/products/mcqueen tall chest by matthew hilton\\",\n \\"tags\\" \\"designed by matthew hilton, made to order 12\\",\n \\"name\\" \\"mcqueen tall chest by matthew hilton\\",\n \\"shortdesc\\" \\"mcqueen chests are strong, elegant and down to earth and their wide body and numerous drawers provide maximum storage space the drawers are detailed with dovetail joinery, cast iron handles, and soft closing piston action details\\",\n \\"category\\" \\"furniture all\\",\n \\"typeofrecord\\" \\"klevu product\\"\n },\n {\n \\"discount\\" \\"\\",\n \\"hidegroupprices\\" \\"\\",\n \\"type\\" \\"furniture\\",\n \\"itemgroupid\\" \\"6968496259117\\",\n \\"freeshipping\\" \\"\\",\n \\"storebasecurrency\\" \\"usd\\",\n \\"price\\" \\"2237 00\\",\n \\"toprice\\" \\"\\",\n \\"imageurl\\" \\"https //cdn shopify com/s/files/1/0564/3730/9485/products/square website haus london montana keep5 medium jpg?v=1646947657\\",\n \\"finish\\" \\"nordic\\",\n \\"currency\\" \\"usd\\",\n \\"instock\\" \\"yes\\",\n \\"id\\" \\"40415972720685\\",\n \\"imagehover\\" \\"https //cdn shopify com/s/files/1/0564/3730/9485/products/square website haus london montana keep4 medium jpg?v=1646947657\\",\n \\"sku\\" \\"\\",\n \\"brand\\" \\"montana furniture\\",\n \\"startprice\\" \\"\\",\n \\"image\\" \\"https //cdn shopify com/s/files/1/0564/3730/9485/products/square website haus london montana keep5 medium jpg?v=1646947657\\",\n \\"deliveryinfo\\" \\"\\",\n \\"hideaddtocart\\" \\"\\",\n \\"saleprice\\" \\"2237 0\\",\n \\"swatchesinfo\\" \\"\\",\n \\"weight\\" \\"\\",\n \\"klevu category\\" \\"klevu product;products;;furniture all @ku\@kucategory\@ku@\\",\n \\"totalvariants\\" 5,\n \\"groupprices\\" \\"\\",\n \\"url\\" \\"https //danish store livetest3 myshopify com/products/keep chest of drawers by montana furniture\\",\n \\"tags\\" \\"designed by peter j lassen, lead time 5, new arrivals\\",\n \\"mounting type\\" \\"free standing legs\\",\n \\"name\\" \\"keep chest of drawers by montana furniture\\",\n \\"shortdesc\\" \\"this chest of drawers is ideal to keep everything in order in the bedroom, living room or in the hall it is comprised of one large module with four drawers and a\\",\n \\"category\\" \\"furniture all\\",\n \\"typeofrecord\\" \\"klevu product\\"\n },\n {\n \\"discount\\" \\"\\",\n \\"hidegroupprices\\" \\"\\",\n \\"type\\" \\"furniture\\",\n \\"itemgroupid\\" \\"6968494555181\\",\n \\"freeshipping\\" \\"\\",\n \\"storebasecurrency\\" \\"usd\\",\n \\"price\\" \\"1399 00\\",\n \\"toprice\\" \\"\\",\n \\"imageurl\\" \\"https //cdn shopify com/s/files/1/0564/3730/9485/products/haus london string workspace bundle e2 medium jpg?v=1646947513\&vid=40415958007853\\",\n \\"finish\\" \\"black / black\\",\n \\"currency\\" \\"usd\\",\n \\"instock\\" \\"yes\\",\n \\"id\\" \\"40415958007853\\",\n \\"imagehover\\" \\"https //cdn shopify com/s/files/1/0564/3730/9485/products/haus london string workspace bundle e2 medium jpg?v=1646947513\&vid=40415958007853\\",\n \\"sku\\" \\"\\",\n \\"brand\\" \\"string furniture\\",\n \\"startprice\\" \\"1277 0\\",\n \\"image\\" \\"https //cdn shopify com/s/files/1/0564/3730/9485/products/haus london string workspace bundle e2 medium jpg?v=1646947513\&vid=40415958007853\\",\n \\"deliveryinfo\\" \\"\\",\n \\"hideaddtocart\\" \\"\\",\n \\"saleprice\\" \\"1399 0\\",\n \\"swatchesinfo\\" \\"\\",\n \\"weight\\" \\"\\",\n \\"klevu category\\" \\"klevu product;products;;furniture all @ku\@kucategory\@ku@\\",\n \\"totalvariants\\" 0,\n \\"groupprices\\" \\"\\",\n \\"url\\" \\"https //danish store livetest3 myshopify com/products/string office bundle we\\",\n \\"tags\\" \\"designed by nils strinning, lead time 4 6, new arrivals, r string, string bundle\\",\n \\"product type\\" \\"furniture\\",\n \\"name\\" \\"string workspace bundle e\\",\n \\"shortdesc\\" \\"string bundles are ready made combinations using components from the string storage system whether your works\\",\n \\"category\\" \\"furniture all\\",\n \\"typeofrecord\\" \\"klevu product\\"\n },\n {\n \\"discount\\" \\"\\",\n \\"hidegroupprices\\" \\"\\",\n \\"type\\" \\"furniture\\",\n \\"itemgroupid\\" \\"6967875895341\\",\n \\"freeshipping\\" \\"\\",\n \\"storebasecurrency\\" \\"usd\\",\n \\"price\\" \\"3195 00\\",\n \\"toprice\\" \\"\\",\n \\"imageurl\\" \\"https //cdn shopify com/s/files/1/0564/3730/9485/products/matthew hilton mcqueen bedside medium jpg?v=1646915437\\",\n \\"currency\\" \\"usd\\",\n \\"instock\\" \\"yes\\",\n \\"id\\" \\"40413446602797\\",\n \\"imagehover\\" \\"https //cdn shopify com/s/files/1/0564/3730/9485/products/matthew hilton mcqueen bedside angle medium jpg?v=1646915437\\",\n \\"sku\\" \\"ha112511\\",\n \\"brand\\" \\"de la espada\\",\n \\"startprice\\" \\"2660 0\\",\n \\"drawer unit\\" \\"left hand side\\",\n \\"image\\" \\"https //cdn shopify com/s/files/1/0564/3730/9485/products/matthew hilton mcqueen bedside medium jpg?v=1646915437\\",\n \\"deliveryinfo\\" \\"\\",\n \\"hideaddtocart\\" \\"\\",\n \\"saleprice\\" \\"3195 0\\",\n \\"wood finish\\" \\"walnut/oiled\\",\n \\"swatchesinfo\\" \\"\\",\n \\"weight\\" \\"\\",\n \\"klevu category\\" \\"klevu product;products;;furniture beds;;furniture all @ku\@kucategory\@ku@\\",\n \\"totalvariants\\" 1,\n \\"groupprices\\" \\"\\",\n \\"url\\" \\"https //danish store livetest3 myshopify com/products/mcqueen bedside by matthew hilton\\",\n \\"tags\\" \\"designed by matthew hilton, made to order 12\\",\n \\"name\\" \\"mcqueen bedside unit by matthew hilton\\",\n \\"shortdesc\\" \\"mcqueen bedside unit has a generous storage capacity including shelving and two drawers it is available as a left or right hand unit, to allow the drawers to be nearest to each side of the bed mcqueen bedside's drawers are detailed with dovetail jo\\",\n \\"category\\" \\"furniture beds;;furniture all\\",\n \\"typeofrecord\\" \\"klevu product\\"\n },\n {\n \\"discount\\" \\"\\",\n \\"hidegroupprices\\" \\"\\",\n \\"type\\" \\"furniture\\",\n \\"itemgroupid\\" \\"6967988191277\\",\n \\"freeshipping\\" \\"\\",\n \\"storebasecurrency\\" \\"usd\\",\n \\"price\\" \\"414 00\\",\n \\"toprice\\" \\"\\",\n \\"imageurl\\" \\"https //cdn shopify com/s/files/1/0564/3730/9485/products/string chest drawers oak hs medium jpg?v=1646921585\&vid=40413964927021\\",\n \\"finish\\" \\"oak\\",\n \\"currency\\" \\"usd\\",\n \\"instock\\" \\"yes\\",\n \\"id\\" \\"40413964927021\\",\n \\"imagehover\\" \\"https //cdn shopify com/s/files/1/0564/3730/9485/products/string chest drawers white hs medium jpg?v=1646921585\&vid=40413964763181\\",\n \\"sku\\" \\"lh7830 05 1\\",\n \\"brand\\" \\"string furniture\\",\n \\"startprice\\" \\"356 0\\",\n \\"image\\" \\"https //cdn shopify com/s/files/1/0564/3730/9485/products/string chest drawers oak hs medium jpg?v=1646921585\&vid=40413964927021\\",\n \\"deliveryinfo\\" \\"\\",\n \\"hideaddtocart\\" \\"\\",\n \\"saleprice\\" \\"414 0\\",\n \\"swatchesinfo\\" \\"\\",\n \\"weight\\" \\"\\",\n \\"klevu category\\" \\"klevu product;products;;furniture all @ku\@kucategory\@ku@\\",\n \\"totalvariants\\" 0,\n \\"groupprices\\" \\"\\",\n \\"url\\" \\"https //danish store livetest3 myshopify com/products/string shelving system chest with drawers\\",\n \\"tags\\" \\"designed by nils strinning, lead time 4 6, r string, string component\\",\n \\"product type\\" \\"furniture\\",\n \\"size\\" \\"78cm wide chest\\",\n \\"name\\" \\"string chest with drawers\\",\n \\"shortdesc\\" \\"string is the original component shelving system the structure is light weight, yet stable \\",\n \\"category\\" \\"furniture all\\",\n \\"typeofrecord\\" \\"klevu product\\"\n }\n ],\n \\"filters\\" \[]\n }\n ]\n}", "language" "200", "customlabel" "" } ], "selectedlanguageid" "3xlvmt855lgkjoht0npxg" }, "examples" { "languages" \[ { "id" "jsu7dlyyj euh63ysp682", "code" "{\n \\"context\\" {\n \\"apikeys\\" \[\n \\"klevu 164270249063714699\\"\n ]\n },\n \\"recordqueries\\" \[\n {\n \\"id\\" \\"klevurecsitemlist\\",\n \\"typeofrequest\\" \\"recs similar images\\",\n \\"settings\\" {\n \\"typeofrecords\\" \[\n \\"klevu product\\"\n ],\n \\"limit\\" 10,\n \\"excludeids\\" \[\n {\n \\"key\\" \\"itemgroupid\\",\n \\"value\\" \\"6920771731501\\"\n }\n ],\n \\"context\\" {\n \\"sourceobjects\\" \[\n {\n \\"typeofrecord\\" \\"klevu product\\",\n \\"records\\" \[\n {\n \\"itemgroupid\\" \\"6920771731501\\"\n },\n {\n \\"id\\" \\"40225093124141\\"\n }\n ]\n }\n ]\n }\n }\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 //eucs28v2 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 \\"context\\" {\n \\"apikeys\\" \[\n \\"klevu 164270249063714699\\"\n ]\n },\n \\"recordqueries\\" \[\n {\n \\"id\\" \\"klevurecsitemlist\\",\n \\"typeofrequest\\" \\"recs similar images\\",\n \\"settings\\" {\n \\"typeofrecords\\" \[\n \\"klevu product\\"\n ],\n \\"limit\\" 10,\n \\"excludeids\\" \[\n {\n \\"key\\" \\"itemgroupid\\",\n \\"value\\" \\"6920771731501\\"\n }\n ],\n \\"context\\" {\n \\"sourceobjects\\" \[\n {\n \\"typeofrecord\\" \\"klevu product\\",\n \\"records\\" \[\n {\n \\"itemgroupid\\" \\"6920771731501\\"\n },\n {\n \\"id\\" \\"40225093124141\\"\n }\n ]\n }\n ]\n }\n }\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({\\"context\\" {\\"apikeys\\" \[\\"klevu 164270249063714699\\"]},\\"recordqueries\\" \[{\\"id\\" \\"klevurecsitemlist\\",\\"typeofrequest\\" \\"recs similar images\\",\\"settings\\" {\\"typeofrecords\\" \[\\"klevu product\\"],\\"limit\\" 10,\\"excludeids\\" \[{\\"key\\" \\"itemgroupid\\",\\"value\\" \\"6920771731501\\"}],\\"context\\" {\\"sourceobjects\\" \[{\\"typeofrecord\\" \\"klevu product\\",\\"records\\" \[{\\"itemgroupid\\" \\"6920771731501\\"},{\\"id\\" \\"40225093124141\\"}]}]}}}]});\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 //eucs28v2 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 \\\\\\"context\\\\\\" {\\\n \\\\\\"apikeys\\\\\\" \[\\\n \\\\\\"klevu 164270249063714699\\\\\\"\\\n ]\\\n },\\\n \\\\\\"recordqueries\\\\\\" \[\\\n {\\\n \\\\\\"id\\\\\\" \\\\\\"klevurecsitemlist\\\\\\",\\\n \\\\\\"typeofrequest\\\\\\" \\\\\\"recs similar images\\\\\\",\\\n \\\\\\"settings\\\\\\" {\\\n \\\\\\"typeofrecords\\\\\\" \[\\\n \\\\\\"klevu product\\\\\\"\\\n ],\\\n \\\\\\"limit\\\\\\" 10,\\\n \\\\\\"excludeids\\\\\\" \[\\\n {\\\n \\\\\\"key\\\\\\" \\\\\\"itemgroupid\\\\\\",\\\n \\\\\\"value\\\\\\" \\\\\\"6920771731501\\\\\\"\\\n }\\\n ],\\\n \\\\\\"context\\\\\\" {\\\n \\\\\\"sourceobjects\\\\\\" \[\\\n {\\\n \\\\\\"typeofrecord\\\\\\" \\\\\\"klevu product\\\\\\",\\\n \\\\\\"records\\\\\\" \[\\\n {\\\n \\\\\\"itemgroupid\\\\\\" \\\\\\"6920771731501\\\\\\"\\\n },\\\n {\\\n \\\\\\"id\\\\\\" \\\\\\"40225093124141\\\\\\"\\\n }\\\n ]\\\n }\\\n ]\\\n }\\\n }\\\n }\\\n ]\\\n}\\");\nrequest request = new request builder()\n url(\\"https //eucs28v2 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 //eucs28v2 ksearchnet com/cs/v2/search',\n 'headers' {\n 'content type' 'application/json'\n },\n body json stringify({\\"context\\" {\\"apikeys\\" \[\\"klevu 164270249063714699\\"]},\\"recordqueries\\" \[{\\"id\\" \\"klevurecsitemlist\\",\\"typeofrequest\\" \\"recs similar images\\",\\"settings\\" {\\"typeofrecords\\" \[\\"klevu product\\"],\\"limit\\" 10,\\"excludeids\\" \[{\\"key\\" \\"itemgroupid\\",\\"value\\" \\"6920771731501\\"}],\\"context\\" {\\"sourceobjects\\" \[{\\"typeofrecord\\" \\"klevu product\\",\\"records\\" \[{\\"itemgroupid\\" \\"6920771731501\\"},{\\"id\\" \\"40225093124141\\"}]}]}}}]})\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 visually similar product recommendations ", "currentnewparameter" { "label" "body parameter", "value" "bodydataparameters" } } try it here!