PractitionerRotas
Create a practitioner rota
Creates a new PractitionerRota for the practitioner identified by practitioner_id in the request body. Equivalent to calling the nested POST /shop/practitioners/{practitionerId}/rotas endpoint but doesn't require the practitioner ID in the URL.
post/shop/practitioner-rotas
Request body
Example request
{
"practitioner_id": "5dcb47800000000000000010",
"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"
}
]
}
]
}
}Changes
No recorded changes to this endpoint across all 1 revision of this API.