Viewed Category Items

Recommend products from the category of the product previously viewed by the visitor

End Point

GET https://api.cartup.ai/v1/widgetserver/custom/viewedcatitemsreco

Query Parameters

Headers

{
    "errMsg": null,
    "numberofdocs": 20,
    "success": "0",
    "widgetType": "viewedcatitemsreco",
    "widgetName": "More Top picks in New Luma Yoga Collection",
    "products": [
        {
            "name": "Helena Hooded Fleece",
            "sku": "WH10",
            "price": "55",
            "smallImage": "http://mdev.ecomtics.nl//pub/media/catalog/product/w/h/wh10-gray_main_1.jpg",
            "currentPageUrl": "http://mdev.ecomtics.nl/helena-hooded-fleece.html"
        },
        {
            "name": "Neve Studio Dance Jacket",
            "sku": "WJ11",
            "price": "69",
            "smallImage": "http://mdev.ecomtics.nl//pub/media/catalog/product/w/j/wj11-blue_main_1.jpg",
            "currentPageUrl": "http://mdev.ecomtics.nl/neve-studio-dance-jacket.html"
        }
    ],
    "customValues": {}
}

Curl Example

curl --request GET 'https://api.cartup.ai/v1/widgetserver/viewedcatitemsreco?domain=magento&divisionId=demo_viewedcat_item&orgId=850a8b8f-a6fe-49e4-88fc-874843279d66&spotDy_uid=0526f7c2-33a1-467e-9815-57566296a69b'  
--header 'Accept: application/json' \  
--header 'Content-Type: application/json' \  
--header 'X-Cartup-Access-Token: $CARTUP_API_KEY'
--header 'X-Cartup-orgId : $CARTUP_ORD_ID'

Last updated