PractitionerRotas
List rotas for a practitioner
Returns a paginated list of PractitionerRota objects for the given practitioner.
get/shop/practitioners/{practitionerId}/rotas
Path parameters
practitionerIdstring required
Identifier of the practitioner. Practitioners are the staff members or therapists who deliver appointments; this ID is used to manage their rotas, availability, and assignment to bookings.
Query parameters
pageinteger
The page to retrieve results from
per_pageinteger
The number of results to return per page
Response
A paginated list of PractitionerRota objects.
Example response
{
"data": [
{
"scheduling_week_interval": 2,
"availability_rules": [
{
"week_num": 1,
"weekday": "monday",
"time_from": "09:00",
"time_to": "17:00",
"offerings": [
{
"offering_name": "Twilight massage",
"offering_type": "appointment"
}
]
}
]
}
],
"meta": {
"from": 1,
"to": 2,
"total": 2,
"current_page": 1,
"last_page": 2,
"per_page": 15,
"path": "http://example.com/api"
},
"links": {
"first": "http://example.com?page=1",
"next": "https://example.com?page=3",
"prev": "https://example.com?page=1",
"last": "https://example.com?page=4"
}
}Changes
No recorded changes to this endpoint across all 1 revision of this API.