Practitioners
Create a custom availability rule for a practitioner
Creates a new PractitionerCustomAvailability rule. Use this to open an extra working window (is_available: true) or to block one off (is_available: false, e.g. leave or sickness).
The server validates that no confirmed appointments or sessions fall inside is_available: false windows, and automatically merges adjacent or overlapping rules with the same is_available value. The response is the resulting rule, which may have been merged with neighbours.
post/shop/practitioners/{practitionerId}/custom-availability
Request body
Example request
{
"date_time_from": "2026-06-01T09:00:00+01:00",
"date_time_to": "2026-06-01T17:00:00+01:00",
"offerings": [
{
"offering_name": "Twilight massage",
"offering_type": "appointment"
}
]
}Response
A single PractitionerCustomAvailability rule.
Example response
{
"data": {
"date_time_from": "2026-06-01T09:00:00+01:00",
"date_time_to": "2026-06-01T17:00:00+01:00",
"offerings": [
{
"offering_name": "Twilight massage",
"offering_type": "appointment"
}
]
}
}Changes
No recorded changes to this endpoint across all 1 revision of this API.