Skip to main content
PUT
/
api
/
v1
/
hub
/
shop
/
{shopId}
/
storefront-settings
Update Storefront Settings
curl --request PUT \
  --url https://api.sabivendor.com/api/v1/hub/shop/{shopId}/storefront-settings \
  --header 'Content-Type: application/json' \
  --header 'X-Shop-API-Key: <x-shop-api-key>' \
  --data '
{
  "themeColor": "<string>",
  "announcementBarText": "<string>",
  "showAnnouncementBar": true
}
'
{
  "status": "success",
  "message": "Settings updated successfully",
  "data": {
    "themeColor": "#22162B",
    "announcementBarText": "Summer Mega Sale has started!",
    "showAnnouncementBar": true
  }
}
Update theme color, template IDs, font face selections, announcement bar parameters, and checkout options. Handles uploading a hero image file.

Authorizations

X-Shop-API-Key
string
required
Your Secret API Key (sk_live_... or sk_test_...) generated from the Developer dashboard. Must be kept secret.

Path Parameters

shopId
string
required
The unique UUID of the shop.

Request Body (Multipart / Form Data)

themeColor
string
Hex color code.
announcementBarText
string
Banner announcement message text.
showAnnouncementBar
boolean
Flag to display the announcement bar.
{
  "status": "success",
  "message": "Settings updated successfully",
  "data": {
    "themeColor": "#22162B",
    "announcementBarText": "Summer Mega Sale has started!",
    "showAnnouncementBar": true
  }
}