Get Theme
Get theme configuration
Get the theme of your organization.
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
{
"errMsg": null,
"widgetThemes": []
}
Curl Example
curl --request GET https://api.cartup.ai/v1/theme?request={"orgId":"850a8b8f-a6fe-49e4-88fc-874843279d66","orgName":"WorldMarts","themeId":"previewTheme"}
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header 'X-Cartup-Access-Token: $CARTUP_API_KEY'
--header 'X-Cartup-orgId : $CARTUP_ORD_ID'
Request Object
Key
Type
Required
Description
orgId
String
Yes
Your Org ID
orgName
string
Yes
Your Org Name
themeId
string
Yes
theme ID (Should be unique)
Example
{
"orgId":"850a8b8f-a6fe-49e4-88fc-874843279d66",
"orgName":"WorldMarts",
"themeId":"previewTheme"
}
Last updated
Was this helpful?