Trending Product

Recommend products that are trending in different categories based on purchase by other user.

End Point

GET https://api.cartup.ai/v1/widgetserver/trending

Query Parameters

Headers

{
    "errMsg": null,
    "numberofdocs": 20,
    "success": "0",
    "widgetType": "trending",
    "widgetName": null,
    "products": [
        {
            "name": "Hero Hoodie",
            "sku": "MH07",
            "price": "54",
            "smallImage": "http://mdev.ecomtics.nl//pub/media/catalog/product/m/h/mh07-gray_main_2.jpg",
            "currentPageUrl": "http://mdev.ecomtics.nl/hero-hoodie.html"
        },
        
    ],
    "customValues": {}

Curl Example

curl --request GET 'http://api.cartup.ai/v1/widgetserver/trending?divisionId=demo_trendingitem&orgId=850a8b8f-a6fe-49e4-88fc-874843279d66'  
--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