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

Delete Theme

Delete theme to existing theme.

End Point

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

Query Parameters

Name
Type
Description

request*

String

Request Object (Refer below)

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

Request Body

Name
Type
Description

themeID*

String

theme ID (Should be unique)

orgID*

String

Your org ID

orgName*

String

You org name

type*

String

"Custom"

htmlTemplate

String

Html template

cssTemplate

String

CSS template

jsTemplate

String

Java Script

displayType*

String

carousel

{
"errMsg":"html template is empty","uid":null
}

‌

Curl Example

curl --request GET 'https://api.cartup.ai/v1/theme/delete?request={"orgId":"850a8b8f-a6fe-49e4-88fc-874843279d66","orgName":"WorldMarts","id":"b92cce9a-d2fb-481d-a2d1-a57355f02c1d"}
--header 'Content-Type: application/json' \  
--header 'X-Cartup-Access-Token: $CARTUP_API_KEY'
--header 'X-Cartup-orgId : $CARTUP_ORD_ID'
-d '{
  "orgId": "850a8b8f-a6fe-49e4-88fc-874843279d66",
  "themeid": "852968f0-7c8c-45d7-8ab0-e7287162a67e"
  "orgName": "WorldMarts"
}

​

Request Object

Key
Type
Required
Description

orgId

String

Yes

Your Org ID

themeid

String

Yes

Theme ID

orgName

String

Yes

Your Org Name

"orgId": "850a8b8f-a6fe-49e4-88fc-874843279d66",
  "themeid": "852968f0-7c8c-45d7-8ab0-e7287162a67e"
  "orgName": "WorldMarts"

‌

‌

‌

PreviousUpdate ThemeNextAbout Recommendations

Last updated 3 years ago

Was this helpful?