Practitioners
Update a practitioner custom availability rule
Updates a PractitionerCustomAvailability rule. Every body field is optional; sent fields replace the existing values. date_time_to must remain strictly after date_time_from once the update is applied.
As on create, an update that overlaps or sits adjacent to another rule with the same is_available value triggers a merge. The response is the resulting rule.
put/shop/practitioners/{practitionerId}/custom-availability/{customAvailabilityId}
Request body
Example request
{
"date_time_from": "2026-06-01T10:00:00+01:00",
"date_time_to": "2026-06-01T18:00:00+01:00",
"is_available": true,
"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.