Commerce
Put v1commercestorefrontpage config draft
PUT
/
v1
/
commerce
/
storefront
/
page-config-draft
cURL
curl --request PUT \
--url https://api.wazapin.com/v1/commerce/storefront/page-config-draft \
--header 'Content-Type: application/json' \
--data '
{
"page_config_draft": "<unknown>"
}
'const options = {
method: 'PUT',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({page_config_draft: '<unknown>'})
};
fetch('https://api.wazapin.com/v1/commerce/storefront/page-config-draft', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.wazapin.com/v1/commerce/storefront/page-config-draft"
payload = { "page_config_draft": "<unknown>" }
headers = {"Content-Type": "application/json"}
response = requests.put(url, json=payload, headers=headers)
print(response.text){
"active": true,
"delivery_fee_amount": 123,
"id": "<string>",
"live_shipping_available": true,
"name": "<string>",
"notification_settings": {
"auto_booking_reminder_enabled": true,
"auto_payment_reminder_enabled": true,
"customer_notifications_enabled": true,
"auto_booking_near_reminder_enabled": true,
"auto_booking_near_reminder_hours_before": 123,
"auto_booking_reminder_days_before": 123,
"auto_booking_reminder_hour_wib": 123,
"auto_payment_reminder_minutes": 123,
"notification_channel_id": "<string>",
"staff_notification_phones": [
"<string>"
],
"staff_notifications_enabled": true
},
"organization_id": "<string>",
"slug": "<string>",
"allowed_origins": [
"<string>"
],
"available_couriers": [
"<string>"
],
"banner_url": "<string>",
"checkout_base_url": "<string>",
"default_booking_service_hours": [
{
"close": "<string>",
"open": "<string>",
"weekday": 123
}
],
"free_shipping_threshold": 123,
"logo_url": "<string>",
"page_config": "<unknown>",
"page_config_draft": "<unknown>",
"payment_instructions": "<string>",
"shipping_estimate_enabled": true,
"staff": [
{
"active": true,
"id": "<string>",
"name": "<string>",
"avatar_url": "<string>"
}
],
"store_locator": {
"address": "<string>",
"contact_name": "<string>",
"contact_phone": "<string>",
"origin_area_id": "<string>",
"origin_area_name": "<string>",
"enabled_couriers": [
"<string>"
],
"origin_postal_code": 123
},
"theme": {
"border_width": "<string>",
"divider": "<string>",
"font_family": "<string>",
"ink": "<string>",
"muted": "<string>",
"preset_id": "<string>",
"primary": "<string>",
"primary_hover": "<string>",
"primary_light": "<string>",
"radius_lg": "<string>",
"radius_sm": "<string>",
"sage": "<string>",
"sage_light": "<string>",
"surface": "<string>",
"surface_warm": "<string>",
"density": "<string>",
"font_heading": "<string>",
"glass_bg": "<string>",
"glass_blur": "<string>",
"layout_template_id": "<string>",
"on_primary": "<string>",
"shadow": "<string>",
"shadow_lg": "<string>",
"style_pack_id": "<string>",
"variants": {
"button": "<string>",
"header": "<string>",
"product_card": "<string>"
},
"wabase_theme_id": "<string>",
"wabase_theme_name": "<string>"
},
"theme_draft": {
"border_width": "<string>",
"divider": "<string>",
"font_family": "<string>",
"ink": "<string>",
"muted": "<string>",
"preset_id": "<string>",
"primary": "<string>",
"primary_hover": "<string>",
"primary_light": "<string>",
"radius_lg": "<string>",
"radius_sm": "<string>",
"sage": "<string>",
"sage_light": "<string>",
"surface": "<string>",
"surface_warm": "<string>",
"density": "<string>",
"font_heading": "<string>",
"glass_bg": "<string>",
"glass_blur": "<string>",
"layout_template_id": "<string>",
"on_primary": "<string>",
"shadow": "<string>",
"shadow_lg": "<string>",
"style_pack_id": "<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>"
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}Body
application/json
Response
OK
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
⌘I
cURL
curl --request PUT \
--url https://api.wazapin.com/v1/commerce/storefront/page-config-draft \
--header 'Content-Type: application/json' \
--data '
{
"page_config_draft": "<unknown>"
}
'const options = {
method: 'PUT',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({page_config_draft: '<unknown>'})
};
fetch('https://api.wazapin.com/v1/commerce/storefront/page-config-draft', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.wazapin.com/v1/commerce/storefront/page-config-draft"
payload = { "page_config_draft": "<unknown>" }
headers = {"Content-Type": "application/json"}
response = requests.put(url, json=payload, headers=headers)
print(response.text){
"active": true,
"delivery_fee_amount": 123,
"id": "<string>",
"live_shipping_available": true,
"name": "<string>",
"notification_settings": {
"auto_booking_reminder_enabled": true,
"auto_payment_reminder_enabled": true,
"customer_notifications_enabled": true,
"auto_booking_near_reminder_enabled": true,
"auto_booking_near_reminder_hours_before": 123,
"auto_booking_reminder_days_before": 123,
"auto_booking_reminder_hour_wib": 123,
"auto_payment_reminder_minutes": 123,
"notification_channel_id": "<string>",
"staff_notification_phones": [
"<string>"
],
"staff_notifications_enabled": true
},
"organization_id": "<string>",
"slug": "<string>",
"allowed_origins": [
"<string>"
],
"available_couriers": [
"<string>"
],
"banner_url": "<string>",
"checkout_base_url": "<string>",
"default_booking_service_hours": [
{
"close": "<string>",
"open": "<string>",
"weekday": 123
}
],
"free_shipping_threshold": 123,
"logo_url": "<string>",
"page_config": "<unknown>",
"page_config_draft": "<unknown>",
"payment_instructions": "<string>",
"shipping_estimate_enabled": true,
"staff": [
{
"active": true,
"id": "<string>",
"name": "<string>",
"avatar_url": "<string>"
}
],
"store_locator": {
"address": "<string>",
"contact_name": "<string>",
"contact_phone": "<string>",
"origin_area_id": "<string>",
"origin_area_name": "<string>",
"enabled_couriers": [
"<string>"
],
"origin_postal_code": 123
},
"theme": {
"border_width": "<string>",
"divider": "<string>",
"font_family": "<string>",
"ink": "<string>",
"muted": "<string>",
"preset_id": "<string>",
"primary": "<string>",
"primary_hover": "<string>",
"primary_light": "<string>",
"radius_lg": "<string>",
"radius_sm": "<string>",
"sage": "<string>",
"sage_light": "<string>",
"surface": "<string>",
"surface_warm": "<string>",
"density": "<string>",
"font_heading": "<string>",
"glass_bg": "<string>",
"glass_blur": "<string>",
"layout_template_id": "<string>",
"on_primary": "<string>",
"shadow": "<string>",
"shadow_lg": "<string>",
"style_pack_id": "<string>",
"variants": {
"button": "<string>",
"header": "<string>",
"product_card": "<string>"
},
"wabase_theme_id": "<string>",
"wabase_theme_name": "<string>"
},
"theme_draft": {
"border_width": "<string>",
"divider": "<string>",
"font_family": "<string>",
"ink": "<string>",
"muted": "<string>",
"preset_id": "<string>",
"primary": "<string>",
"primary_hover": "<string>",
"primary_light": "<string>",
"radius_lg": "<string>",
"radius_sm": "<string>",
"sage": "<string>",
"sage_light": "<string>",
"surface": "<string>",
"surface_warm": "<string>",
"density": "<string>",
"font_heading": "<string>",
"glass_bg": "<string>",
"glass_blur": "<string>",
"layout_template_id": "<string>",
"on_primary": "<string>",
"shadow": "<string>",
"shadow_lg": "<string>",
"style_pack_id": "<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>"
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}