PUT /self/{shopId}/customization/design

PUT /self/{shopId}/customization/design

Path parameters

  • shopId integer(int32) Required

Body

  • primaryColor string Required

    Minimum length is 1, maximum length is 7.

  • primaryColorAccent string | null
  • backgroundColor string Required

    Minimum length is 1, maximum length is 7.

  • secondaryColor string Required

    Minimum length is 1, maximum length is 7.

  • primaryTextColor string Required

    Minimum length is 1, maximum length is 7.

  • secondaryTextColor string Required

    Minimum length is 1, maximum length is 7.

  • darkMode boolean Required
  • disableBusinessName boolean Required
  • disableSearchBar boolean Required
  • centerProductTitle boolean Required
  • disableReviews boolean Required
  • disableProductsSold boolean Required
  • hideOutOfStockProducts boolean Required
  • disableShadows boolean | null
  • disableSnow boolean | null
  • hideProductStock boolean | null
  • disableSupport boolean | null

Body

  • primaryColor string Required

    Minimum length is 1, maximum length is 7.

  • primaryColorAccent string | null
  • backgroundColor string Required

    Minimum length is 1, maximum length is 7.

  • secondaryColor string Required

    Minimum length is 1, maximum length is 7.

  • primaryTextColor string Required

    Minimum length is 1, maximum length is 7.

  • secondaryTextColor string Required

    Minimum length is 1, maximum length is 7.

  • darkMode boolean Required
  • disableBusinessName boolean Required
  • disableSearchBar boolean Required
  • centerProductTitle boolean Required
  • disableReviews boolean Required
  • disableProductsSold boolean Required
  • hideOutOfStockProducts boolean Required
  • disableShadows boolean | null
  • disableSnow boolean | null
  • hideProductStock boolean | null
  • disableSupport boolean | null

Body

  • primaryColor string Required

    Minimum length is 1, maximum length is 7.

  • primaryColorAccent string | null
  • backgroundColor string Required

    Minimum length is 1, maximum length is 7.

  • secondaryColor string Required

    Minimum length is 1, maximum length is 7.

  • primaryTextColor string Required

    Minimum length is 1, maximum length is 7.

  • secondaryTextColor string Required

    Minimum length is 1, maximum length is 7.

  • darkMode boolean Required
  • disableBusinessName boolean Required
  • disableSearchBar boolean Required
  • centerProductTitle boolean Required
  • disableReviews boolean Required
  • disableProductsSold boolean Required
  • hideOutOfStockProducts boolean Required
  • disableShadows boolean | null
  • disableSnow boolean | null
  • hideProductStock boolean | null
  • disableSupport boolean | null

Responses

  • 200

    Success

PUT /self/{shopId}/customization/design
curl \
 --request PUT 'https://dev.sellpass.io/self/{shopId}/customization/design' \
 --header "Authorization: $API_KEY" \
 --header "Content-Type: application/json" \
 --data '{"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"}'
curl \
 --request PUT 'https://dev.sellpass.io/self/{shopId}/customization/design' \
 --header "Authorization: $API_KEY" \
 --header "Content-Type: text/json"
curl \
 --request PUT 'https://dev.sellpass.io/self/{shopId}/customization/design' \
 --header "Authorization: $API_KEY" \
 --header "Content-Type: application/*+json"
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"
}
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"
}
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"
}