Skip to content
Wazapin
Esc
navigateopen⌘Jpreview

POST /v1/commerce/storefront/page-config/publish

POST/v1/commerce/storefront/page-config/publish
Authorization
bearerAuthbearerAuthrequired
or
apiKeyAuthapiKeyAuthrequired
Responses
201Created
activebooleanrequired
allowed_originsstring[] | null
available_couriersstring[] | null
banner_urlstring
checkout_base_urlstring
default_booking_service_hoursServiceHour[] | null
Show properties
Array of ServiceHour
closestringrequired
openstringrequired
weekdayinteger<int64>required
delivery_fee_amountinteger<int64>required
free_shipping_thresholdinteger<int64>
idstringrequired
live_shipping_availablebooleanrequired
logo_urlstring
namestringrequired
notification_settingsCommerceNotificationSettingsrequired
Show properties
auto_booking_near_reminder_enabledboolean
auto_booking_near_reminder_hours_beforeinteger<int32>
auto_booking_reminder_days_beforeinteger<int32>
auto_booking_reminder_enabledbooleanrequired
auto_booking_reminder_hour_wibinteger<int32>
auto_payment_reminder_enabledbooleanrequired
auto_payment_reminder_minutesinteger<int32>
customer_notifications_enabledbooleanrequired
notification_channel_idstring
staff_notification_phonesstring[] | null
staff_notifications_enabledboolean
organization_idstringrequired
page_configany
page_config_draftany
payment_instructionsstring
shipping_estimate_enabledboolean
slugstringrequired
staffCommerceStaffMember[] | null
Show properties
Array of CommerceStaffMember
activebooleanrequired
avatar_urlstring
idstringrequired
namestringrequired
store_locatorStoreLocator
Show properties
addressstringrequired
contact_namestringrequired
contact_phonestringrequired
enabled_couriersstring[] | null
origin_area_idstringrequired
origin_area_namestringrequired
origin_postal_codeinteger<int64>
themeResolvedStorefrontTheme
Show properties
border_widthstringrequired
densitystring
dividerstringrequired
font_familystringrequired
font_headingstring
glass_bgstring
glass_blurstring
inkstringrequired
layout_template_idstring
mutedstringrequired
on_primarystring
preset_idstringrequired
primarystringrequired
primary_hoverstringrequired
primary_lightstringrequired
radius_lgstringrequired
radius_smstringrequired
sagestringrequired
sage_lightstringrequired
shadowstring
shadow_lgstring
style_pack_idstring
surfacestringrequired
surface_warmstringrequired
variantsStorefrontThemeVariants
Show properties
buttonstring
headerstring
product_cardstring
wabase_theme_idstring
wabase_theme_namestring
theme_draftResolvedStorefrontTheme
Show properties
border_widthstringrequired
densitystring
dividerstringrequired
font_familystringrequired
font_headingstring
glass_bgstring
glass_blurstring
inkstringrequired
layout_template_idstring
mutedstringrequired
on_primarystring
preset_idstringrequired
primarystringrequired
primary_hoverstringrequired
primary_lightstringrequired
radius_lgstringrequired
radius_smstringrequired
sagestringrequired
sage_lightstringrequired
shadowstring
shadow_lgstring
style_pack_idstring
surfacestringrequired
surface_warmstringrequired
variantsStorefrontThemeVariants
Show properties
buttonstring
headerstring
product_cardstring
wabase_theme_idstring
wabase_theme_namestring
trust_policiesStorefrontTrustPolicies
Show properties
contact_infostring
returns_policystring
shipping_policystring
show_codboolean
show_transferboolean
show_waboolean
trust_textstring
whatsapp_phonestring
defaultError
errorErrorBodyrequired
Show properties
codestringrequired
detailsErrorDetail[] | null
Show properties
Array of ErrorDetail
codestring
fieldstring
locationstring
messagestringrequired
messagestringrequired
request_idstring
Request
curl -X POST "/v1/commerce/storefront/page-config/publish"
Response
{
  "active": true,
  "allowed_origins": [
    "string"
  ],
  "available_couriers": [
    "string"
  ],
  "banner_url": "string",
  "checkout_base_url": "string",
  "default_booking_service_hours": [
    {
      "close": "string",
      "open": "string",
      "weekday": 0
    }
  ],
  "delivery_fee_amount": 0,
  "free_shipping_threshold": 0,
  "id": "string",
  "live_shipping_available": true,
  "logo_url": "string",
  "name": "string",
  "notification_settings": {
    "auto_booking_near_reminder_enabled": true,
    "auto_booking_near_reminder_hours_before": 0,
    "auto_booking_reminder_days_before": 0,
    "auto_booking_reminder_enabled": true,
    "auto_booking_reminder_hour_wib": 0,
    "auto_payment_reminder_enabled": true,
    "auto_payment_reminder_minutes": 0,
    "customer_notifications_enabled": true,
    "notification_channel_id": "string",
    "staff_notification_phones": [
      "string"
    ],
    "staff_notifications_enabled": true
  },
  "organization_id": "string",
  "page_config": "string",
  "page_config_draft": "string",
  "payment_instructions": "string",
  "shipping_estimate_enabled": true,
  "slug": "string",
  "staff": [
    {
      "active": true,
      "avatar_url": "string",
      "id": "string",
      "name": "string"
    }
  ],
  "store_locator": {
    "address": "string",
    "contact_name": "string",
    "contact_phone": "string",
    "enabled_couriers": [
      "string"
    ],
    "origin_area_id": "string",
    "origin_area_name": "string",
    "origin_postal_code": 0
  },
  "theme": {
    "border_width": "string",
    "density": "string",
    "divider": "string",
    "font_family": "string",
    "font_heading": "string",
    "glass_bg": "string",
    "glass_blur": "string",
    "ink": "string",
    "layout_template_id": "string",
    "muted": "string",
    "on_primary": "string",
    "preset_id": "string",
    "primary": "string",
    "primary_hover": "string",
    "primary_light": "string",
    "radius_lg": "string",
    "radius_sm": "string",
    "sage": "string",
    "sage_light": "string",
    "shadow": "string",
    "shadow_lg": "string",
    "style_pack_id": "string",
    "surface": "string",
    "surface_warm": "string",
    "variants": {
      "button": "string",
      "header": "string",
      "product_card": "string"
    },
    "wabase_theme_id": "string",
    "wabase_theme_name": "string"
  },
  "theme_draft": {
    "border_width": "string",
    "density": "string",
    "divider": "string",
    "font_family": "string",
    "font_heading": "string",
    "glass_bg": "string",
    "glass_blur": "string",
    "ink": "string",
    "layout_template_id": "string",
    "muted": "string",
    "on_primary": "string",
    "preset_id": "string",
    "primary": "string",
    "primary_hover": "string",
    "primary_light": "string",
    "radius_lg": "string",
    "radius_sm": "string",
    "sage": "string",
    "sage_light": "string",
    "shadow": "string",
    "shadow_lg": "string",
    "style_pack_id": "string",
    "surface": "string",
    "surface_warm": "string",
    "variants": {
      "button": "string",
      "header": "string",
      "product_card": "string"
    },
    "wabase_theme_id": "string",
    "wabase_theme_name": "string"
  },
  "trust_policies": {
    "contact_info": "string",
    "returns_policy": "string",
    "shipping_policy": "string",
    "show_cod": true,
    "show_transfer": true,
    "show_wa": true,
    "trust_text": "string"
  },
  "whatsapp_phone": "string"
}