Delete Theme

Delete theme to existing theme.

End Point

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

Query Parameters

NameTypeDescription

request*

String

Request Object (Refer below)

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

Request Body

NameTypeDescription

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

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

KeyTypeRequiredDescription

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"

Last updated