/
Change Booking Widget
Security
BearerPartnerUser
- Mock serverhttps://developer.alteg.io/_mock/en/b2b-v1/openapi/locations/{location_id}/booking_forms/{form_id}
- Productionhttps://api.alteg.io/api/v1/locations/{location_id}/booking_forms/{form_id}
curl -i -X PATCH \
'https://developer.alteg.io/_mock/en/b2b-v1/openapi/locations/{location_id}/booking_forms/{form_id}' \
-H 'Accept: string' \
-H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"title": "string",
"description": "string",
"is_default": true,
"without_menu": true,
"service_step_default": 0,
"service_step_hide": true,
"master_step_default": 0,
"master_step_hide": true,
"service_step_num": 0,
"master_step_num": 0,
"datetime_step_num": 0,
"show_button": true,
"button_position": "bottom right",
"form_position": "right",
"button_color": "string",
"button_animation": true
}'Response
{ "success": true, "data": { "id": 1, "title": "Name", "is_default": false, "description": "Description", "without_menu": false, "service_step_default": 0, "service_step_hide": false, "master_step_default": 0, "master_step_hide": false, "service_step_num": 2, "master_step_num": 1, "datetime_step_num": 3, "show_button": true, "button_position": "bottom right", "form_position": "right", "button_color": "#1c84c6", "button_animation": true, "html_code": "", "ab_test_enabled": false }, "meta": [] }