List team member booking profiles
Lists booking profiles for team members.
Name | Description |
---|---|
bookable_
|
Indicates whether to include only bookable team members in the returned result ( |
limit
|
The maximum number of results to return in a paged response. |
cursor
|
The pagination cursor from the preceding response to return the next page of the results. Do not set this when retrieving the first page of 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. The results are returned in the ascending order of the time when the team member booking profiles were last updated. Multiple booking profiles updated at the same time are further sorted in the ascending order of their IDs. |
cursor
|
The pagination cursor to be used in the subsequent request to get the next page of the results. Stop retrieving the next page of the results when the cursor is not set. |
errors
|
Errors that occurred during the request. |
Examples
- cURL
- Ruby
- Python
- C#
- Java
- PHP
- Node.js
curl https://connect.squareup.com/v2/bookings/team-member-booking-profiles \
-H 'Square-Version: 2023-01-19' \
-H 'Authorization: Bearer ACCESS_TOKEN' \
-H 'Content-Type: application/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": []
}