PractitionerRotas
Create a rota for a practitioner
Creates a new PractitionerRota for the given practitioner.
post/shop/practitioners/{practitionerId}/rotas
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"
}
]
}
]
}
}