PUT /self/{shopId}/customization/design
Path parameters
-
shopId
integer(int32) Required
Body
-
primaryColor
string Required Minimum length is
1
, maximum length is7
. -
primaryColorAccent
string | null -
backgroundColor
string Required Minimum length is
1
, maximum length is7
. -
secondaryColor
string Required Minimum length is
1
, maximum length is7
. -
primaryTextColor
string Required Minimum length is
1
, maximum length is7
. -
secondaryTextColor
string Required Minimum length is
1
, maximum length is7
. -
darkMode
boolean Required -
disableBusinessName
boolean Required -
disableSearchBar
boolean Required -
centerProductTitle
boolean Required -
disableBusinessLogo
boolean Required -
disableReviews
boolean Required -
disableProductsSold
boolean Required -
hideOutOfStockProducts
boolean Required -
disableShadows
boolean | null -
disableSnow
boolean | null -
hideProductStock
boolean | null -
disableSupport
boolean | null -
fontLink
string | null
PUT
/self/{shopId}/customization/design
curl \
-X PUT https://dev.sellpass.io/self/{shopId}/customization/design \
-H "Authorization: $API_KEY" \
-H "Content-Type: application/json" \
-d '{"primaryColor":"string","primaryColorAccent":"string","backgroundColor":"string","secondaryColor":"string","primaryTextColor":"string","secondaryTextColor":"string","darkMode":true,"disableBusinessName":true,"disableSearchBar":true,"centerProductTitle":true,"disableBusinessLogo":true,"disableReviews":true,"disableProductsSold":true,"hideOutOfStockProducts":true,"disableShadows":true,"disableSnow":true,"hideProductStock":true,"disableSupport":true,"fontLink":"string"}'
Request example
{
"primaryColor": "string",
"primaryColorAccent": "string",
"backgroundColor": "string",
"secondaryColor": "string",
"primaryTextColor": "string",
"secondaryTextColor": "string",
"darkMode": true,
"disableBusinessName": true,
"disableSearchBar": true,
"centerProductTitle": true,
"disableBusinessLogo": true,
"disableReviews": true,
"disableProductsSold": true,
"hideOutOfStockProducts": true,
"disableShadows": true,
"disableSnow": true,
"hideProductStock": true,
"disableSupport": true,
"fontLink": "string"
}
Request examples
{
"primaryColor": "string",
"primaryColorAccent": "string",
"backgroundColor": "string",
"secondaryColor": "string",
"primaryTextColor": "string",
"secondaryTextColor": "string",
"darkMode": true,
"disableBusinessName": true,
"disableSearchBar": true,
"centerProductTitle": true,
"disableBusinessLogo": true,
"disableReviews": true,
"disableProductsSold": true,
"hideOutOfStockProducts": true,
"disableShadows": true,
"disableSnow": true,
"hideProductStock": true,
"disableSupport": true,
"fontLink": "string"
}