Inspired By Browser History

Recommendation are based on previously viewed or bought by the visitor

End Point

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

Query Parameters

Name
Type
Description

divisionId*

String

HTLM tag id (need to be unique)

orgId*

String

Your Org ID

spotDy_uid*

String

User ID

domain*

String

Your Domain

Headers

Name
Type
Description

Accept*

String

application/json

Content_type*

String

application/json

X-Cartup-Access-Token*

String

$CARTUP_API_KEY

X-Cartup-orgId*

String

$CARTUP_ORD_ID

{
    "errMsg": null,
    "numberofdocs": 20,
    "success": "0",
    "widgetType": "inspbybrowsehist",
    "widgetName": "Inspired by your browsing history",
    "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": "Eos V-Neck Hoodie",
            "sku": "WH11",
            "price": "54",
            "smallImage": "http://mdev.ecomtics.nl//pub/media/catalog/product/w/h/wh11-blue_main_1.jpg",
            "currentPageUrl": "http://mdev.ecomtics.nl/eos-v-neck-hoodie.html"
        },
        
    ],
    "customValues": {}

}

Curl Example

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