PractitionerRotas
Update a practitioner rota by ID
Updates the PractitionerRota identified by practitionerRotaId. The practitioner the rota belongs to cannot be changed; create a new rota and delete the old one if you need to move the schedule between practitioners.
put/shop/practitioner-rotas/{practitionerRotaId}
Request body
Example request
{
"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"
}
]
}
]
}Response
A single PractitionerRota object.
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"
}
]
}
]
}
}