Cartup docs
  • Introduction
  • Browse Topics
  • Getting Started
  • Recommendation Configuration
    • Get Recommendation Types
    • Create Recommendation
      • Rules
    • Get Recommendation
    • Update Recommendation
    • Delete Recommendation
    • Create Themes
    • Get Theme List
    • Get Theme
    • Update Theme
    • Delete Theme
  • Recommendations
  • About Recommendations
  • Crosssell Products
  • Content Based Recommendation
  • Trending Product
  • Trending in category
  • Viewed also viewed
  • Recentviews
  • Category Based Recommendations
  • Bought Category Items
  • Bought also bought
  • Viewed Category Items
  • Inspired By Browser History
  • Based on Wishlist
  • Search
  • Search Configurations
  • Create Search Config
  • Get Search Config
  • Update Search Config
  • Delete Search Config
  • Upload Synonym
  • Upload Stop Word
  • Upload OneWay Synonym
  • Get synonym csv file
  • Get OneWay Synonym csv file
  • Get Stopwords csv file
  • Delete Synonym CSV file
  • Delete OneWaySynonym CSV file
  • Delete Stopwords CSV file
  • Search Suggestions
    • Get Search suggestions
  • Search Result
    • Get Search result
  • Shopify app configuration
  • Events Configuration
  • Shopify Widget Configuration
    • Create Widget
    • Verify the Widget
    • To create widget theme
  • Shopify badging configuration
    • To verify default badges
    • To create new badges
      • Create badge
      • Verify the badge
  • Shopify search configuration
    • To verify default search
    • To reconfigure your search
      • AI personalization & Ranking
      • Synomyns & Rules
      • Auto Facets
      • Advanced
    • To create search bar theme
    • To create search results theme
  • Shopify plp configuration
    • To configure plp
    • Verify plp
    • To create plp result theme
  • Events
  • Mobile Integration
  • iOS Integration
  • Android Integration
Powered by GitBook
On this page

Was this helpful?

Crosssell Products

Two or three products are recommended together as addons to the product currently being viewed.

End Point

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

Query Parameters

Name
Type
Description

divisionId*

String

HTLM tag id (need to be unique)

orgId*

String

Your org ID

domain*

String

Your Domain

pname*

String

Your Product Name

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": 5,
    "success": "0",
    "widgetType": "crosssell",
    "widgetName": "Frequently bought together",
    "products": [
        {
            "name": "Lamaze Flip Flap draakje knuffel",
            "sku": "1379896",
            "price": "14.99",
            "discountedPrice": "0",
            "smallImage": "https://image.intertoys.nl/wcsstore/IntertoysCAS/images/catalog/full/1379896.jpg",
            "currentPageUrl": "https://www.intertoys.nl/shop/nl/intertoys/babyspeelgoed-en-peuterspeelgoed/mobielen-activity-centers-en-speelkleden/activity-centers/lamaze-flip-flap-draakje-knuffel"
        },
        {
            "name": "Kleurkoffer Peppa Pig 51-delig",
            "sku": "1983165",
            "price": "5.99",
            "discountedPrice": "7.99",
            "smallImage": "https://image.intertoys.nl/wcsstore/IntertoysCAS/images/catalog/full/1983165-34c2040f.jpg",
            "currentPageUrl": "https://www.intertoys.nl/shop/nl/intertoys/knutselartikelen/teken-schrijf-en-kleurbenodigdheden/schrijfsets/kleurkoffer-peppa-pig-51-delig"
        },
        {
            "name": "BABY born driewiel poppenwagen",
            "sku": "1784906",
            "price": "34.99",
            "discountedPrice": "0",
            "smallImage": "https://image.intertoys.nl/wcsstore/IntertoysCAS/images/catalog/full/1784906.jpg",
            "currentPageUrl": "https://www.intertoys.nl/shop/nl/intertoys/poppen-en-knuffels/poppen-en-accessoires/poppenwagens/baby-born-driewiel-poppenwagen"
        },
        {
            "name": "BABY born badjas - roze",
            "sku": "1639706",
            "price": "10.99",
            "discountedPrice": "0",
            "smallImage": "https://image.intertoys.nl/wcsstore/IntertoysCAS/images/catalog/full/1639706.jpg",
            "currentPageUrl": "https://www.intertoys.nl/shop/nl/intertoys/poppen-en-knuffels/poppen-en-accessoires/poppenkleding/baby-born-badjas-roze"
        },
        {
            "name": "Stokpaard met geluid - roze/lichtroze",
            "sku": "1981308",
            "price": "8.99",
            "discountedPrice": "12.99",
            "smallImage": "https://image.intertoys.nl/wcsstore/IntertoysCAS/images/catalog/full/1981308-41b598d5.jpg",
            "currentPageUrl": "https://www.intertoys.nl/shop/nl/intertoys/poppen-en-knuffels/knuffels/stokpaard-met-geluid-roze-lichtroze"
        }
    ],
    "customValues": {}

}
{
    "errMsg": "org id is empty",
    "numberofdocs": 0,
    "success": null,
    "widgetType": null,
    "widgetName": null,
    "products": null,
    "customValues": null
}

Curl Example

curl --request GET 'http://api.cartup.ai/v1/widgetserver/crosssell?divisionId=demo_cross_sell&pname=Fiona Fitness Short&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'

PreviousAbout RecommendationsNextContent Based Recommendation

Last updated 3 years ago

Was this helpful?