Retrieve business booking profile
GET
/v2/bookings/business-booking-profile
Retrieves a seller's booking profile.
Permissions
APPOINTMENTS_BUSINESS_SETTINGS_READ
Try in API Explorer
Response Fields
Name | Description |
---|---|
business_
|
The seller's booking profile. |
errors
|
Errors that occurred during the request. |
Examples
GET
/v2/bookings/business-booking-profile
cURL
- cURL
- Ruby
- Python
- C#
- Java
- PHP
- Node.js
curl https://connect.squareup.com/v2/bookings/business-booking-profile \
-H 'Square-Version: 2023-01-19' \
-H 'Authorization: Bearer ACCESS_TOKEN' \
-H 'Content-Type: application/json'
Response JSON
{
"business_booking_profile": {
"seller_id": "MLJQYZZRM0D3Y",
"created_at": "2020-09-10T21:40:38Z",
"booking_enabled": true,
"customer_timezone_choice": "CUSTOMER_CHOICE",
"booking_policy": "ACCEPT_ALL",
"allow_user_cancel": true,
"business_appointment_settings": {
"location_types": [
"BUSINESS_LOCATION"
],
"alignment_time": "HALF_HOURLY",
"min_booking_lead_time_seconds": 0,
"max_booking_lead_time_seconds": 31536000,
"any_team_member_booking_enabled": true,
"multiple_service_booking_enabled": true,
"cancellation_fee_money": {
"currency": "USD"
},
"cancellation_policy": "CUSTOM_POLICY",
"skip_booking_flow_staff_selection": false
}
},
"errors": []
}