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?

  1. Recommendation Configuration

Get Recommendation Types

Get the list of recommendation algorithm and the relevant page the recommendation widget can be placed.

End Point

GET https://api.cartup.ai/v1/algorithm

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,
  "widgets": [
    {
      "displayName": "Category Based Recommendation",
      "name": "categoryreco",
      "type": "custom",
      "description": "Recommend products in the same category as the product currently being viewed.",
      "pages": [
        "collection_page",
        "product_page"
      ],
      "recommendedPages": [
        "collection_page"
      ]
    },
    {
      "displayName": "Content Based Widget",
      "name": "contentbasedreco",
      "type": "custom",
      "description": "Recommendations of the same category or other categories based on the 'content type' of the product being viewed.",
      "pages": [
        "product_page"
      ],
      "recommendedPages": [
        "product_page"
      ]
    },
    {
      "displayName": "Recent Views",
      "name": "recentviews",
      "type": "custom",
      "description": "Displays the recently viewed products by the site visitor.",
      "pages": [
        "home_page",
        "product_page",
        "collection_page",
        "blogs_articles_page",
        "order_page",
        "404_page",
        "cart_page"
      ],
      "recommendedPages": [
        "home_page",
        "product_page",
        "cart_page"
      ]
    },
    {
      "displayName": "Trending in category",
      "name": "trendingincategory",
      "type": "custom",
      "description": "Recommend trending products in the same category as the product currently being viewed.",
      "pages": [
        "collection_page"
      ],
      "recommendedPages": [
        "collection_page"
      ]
    },
    {
      "displayName": "Trending Items",
      "name": "trending",
      "type": "custom",
      "description": "Recommend products that are trending in different categories based on purchases by other users.",
      "pages": [
        "home_page",
        "product_page",
        "collection_page",
        "blogs_articles_page",
        "order_page",
        "cart_page"
      ],
      "recommendedPages": [
        "home_page",
        "cart_page",
        "order_page",
        "collection_page"
      ]
    },
    {
      "displayName": "Based On Wishlist",
      "name": "wishlistreco",
      "type": "custom",
      "description": "Recommend products from the wishlist which are alternatives or associated with the product currently being viewed.",
      "pages": [
        "home_page",
        "product_page",
        "order_page",
        "cart_page"
      ],
      "recommendedPages": [
        "home_page",
        "product_page",
        "cart_page"
      ]
    },
    {
      "displayName": "Cross Sell",
      "name": "crosssell",
      "type": "custom",
      "description": "Two or three products are recommended together (bundled) as addons to the product currently being viewed.",
      "pages": [
        "product_page",
        "cart_page",
        "home_page"
      ],
      "recommendedPages": [
        "product_page"
      ]
    },
    {
      "displayName": "Bought Category Items",
      "name": "boughtcatitemsreco",
      "type": "custom",
      "description": "Recommend products from of the category of products previously bought by the visitor.",
      "pages": [
        "home_page",
        "product_page",
        "blogs_articles_page",
        "cart_page"
      ],
      "recommendedPages": [
        "home_page",
        "product_page",
        "cart_page"
      ]
    },
    {
      "displayName": "Viewed Category Items",
      "name": "viewedcatitemsreco",
      "type": "custom",
      "description": "Recommend products from of the category of products previously viewed by the visitor.",
      "pages": [
        "home_page",
        "product_page",
        "blogs_articles_page",
        "cart_page"
      ],
      "recommendedPages": [
        "home_page",
        "product_page",
        "cart_page"
      ]
    },
    {
      "displayName": "Bought Also Bought",
      "name": "boughtalsobought",
      "type": "custom",
      "description": "Recommend products based on what other site visitors have bought.",
      "pages": [
        "home_page",
        "product_page",
        "blogs_articles_page",
        "cart_page"
      ],
      "recommendedPages": [
        "home_page",
        "product_page",
        "cart_page"
      ]
    },
    {
      "displayName": "Inspired By Your Browser History",
      "name": "inspbybrowsehist",
      "type": "custom",
      "description": "Recommendations are based on previously viewed or bought by the visitor.",
      "pages": [
        "home_page",
        "blogs_articles_page",
        "cart_page",
        "order_page"
      ],
      "recommendedPages": [
        "home_page",
        "cart_page",
        "order_page"
      ]
    },
    {
      "displayName": "Viewed Also Viewed",
      "name": "viewedalsoviewed",
      "type": "custom",
      "description": "Recommend products based on what other site visitors viewed after viewing the current product.",
      "pages": [
        "home_page",
        "blogs_articles_page",
        "cart_page",
        "order_page"
      ],
      "recommendedPages": [
        "home_page",
        "cart_page",
        "order_page"
      ]
    }
  ],
  "pages": [
    {
      "displayName": "Product Page",
      "name": "product_page",
      "pageType": "PDP",
      "description": "Add product page to increase discoverability of your entire catalogue."
    },
    {
      "displayName": "Home Page",
      "name": "home_page",
      "pageType": "Index",
      "description": "Add recommendations on homepage to showcase personalized and top products. Prevent dropoffs and give a personalized experience."
    },
    {
      "displayName": "Order Confirmation Page",
      "name": "order_page",
      "pageType": "order",
      "description": "Add recommendations on homepage to showcase personalized and top products. Prevent dropoffs and give a personalized experience."
    },
    {
      "displayName": "Collection Page",
      "name": "collection_page",
      "pageType": "Collection",
      "description": "Add on product page to increase discoverability of your entire catalogue."
    },
    {
      "displayName": "Cart Page",
      "name": "cart_page",
      "pageType": "Cart",
      "description": "Products on Cart page. Show recommendations based on a user's cart."
    },
    {
      "displayName": "AJAX Cart Page",
      "name": "ajax_cart_page",
      "pageType": "AJAX Cart",
      "description": "On themes supporting AJAX Cart, this is a great way to cross sell your products. Users can directly add products to their cart from this widget."
    },
    {
      "displayName": "Blogs and Articles",
      "name": "blogs_articles_page",
      "pageType": "Blog",
      "description": "Add relevant recommendations and Blog & Articles to attract customers to your store."
    },
    {
      "displayName": "404 NOT FOUND",
      "name": "404_page",
      "pageType": "404",
      "description": "Add recommendations on 404 Not Found page to keep users on the store website."
    }
  ]
}
    }]
}

‌

Curl Example

curl --request GET 'https://api.cartup.ai/v1/algorithm
--header 'Accept : application/json' \  
--header 'Content-Type : application/json' \  
--header 'X-Cartup-Access-Token : $CARTUP_API_KEY'
--header 'X-Cartup-orgId : $CARTUP_ORD_ID'

‌

PreviousGetting StartedNextCreate Recommendation

Last updated 11 months ago

Was this helpful?