List team member booking profiles BETA
GET
/v2/bookings/team-member-booking-profiles
Lists booking profiles for team members.
Permissions
APPOINTMENTS_BUSINESS_SETTINGS_READ
Try in API Explorer
Name | Description |
---|---|
bookable_
|
Indicates whether to include only bookable team members in the returned result ( |
limit
|
The maximum number of results to return. |
cursor
|
The cursor for paginating through the results. |
location_
|
Indicates whether to include only team members enabled at the given location in the returned result. |
Response Fields
Name | Description |
---|---|
team_
|
The list of team member booking profiles. |
cursor
|
The cursor for paginating through the results. |
errors
|
Any errors that occurred during the request. |
Examples
GET
/v2/bookings/team-member-booking-profiles
cURL
- cURL
- Ruby
- Python
- C#
- Java
- PHP
- Node.js
curl https://connect.squareup.com/v2/bookings/team-member-booking-profiles \
-H 'Square-Version: 2020-12-16' \
-H 'Authorization: Bearer ACCESS_TOKEN' \
-H 'Content-Type: application/json'
Response JSON
{
"team_member_booking_profiles": [
{
"team_member_id": "TMXUrsBWWcHTt79t",
"display_name": "Sandbox Seller",
"is_bookable": true
},
{
"team_member_id": "TMaJcbiRqPIGZuS9",
"display_name": "Sandbox Staff",
"is_bookable": true
}
],
"errors": []
}