Viewed also viewed

Recommend product based on what other site visitors viewed after viewing the current product.

End Point

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

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

pname*

String

Name Of Product

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": 10,
    "success": "0",
    "widgetType": "viewedalsoviewed",
    "widgetName": "Users who viewed this also Viewed",
    "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/viewedalsoviewed?divisionId=demo_viewed&pname=Fiona Fitness Short&orgId=850a8b8f-a6fe-49e4-88fc-874843279d66&domain=magento&spotDy_uid=6e19e9cf-1e92-419f-8a40-808f60b60c31  
--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