Bought also bought

Recommend product based on what other site visitors have bought.

End Point

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

Query Parameters

NameTypeDescription

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

NameTypeDescription

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": "Bought also Bought",
    "widgetName": "More Items to Consider",
    "products": [
        {
            "name": "Jupiter All-Weather Trainer",
            "sku": "MJ06",
            "price": "56.99",
            "smallImage": "http://mdev.ecomtics.nl//pub/media/catalog/product/m/j/mj06-blue_main_1.jpg",
            "currentPageUrl": "http://mdev.ecomtics.nl/jupiter-all-weather-trainer.html"
        }
    ],
    "customValues": {}
}

Curl Example

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