Practitioners
Create an appointment restriction for a practitioner
Adds a new PractitionerAppointmentRestriction to the practitioner. Use type: cannot_offer to stop the practitioner taking matching appointments outright, or type: max_duration with max_duration (minutes) to cap how long matching appointments can run.
Requires the SETTINGS_MANAGE permission on the practitioner's site.
post/shop/practitioners/{practitionerId}/appointment-restrictions
Request body
Example request
{
"type": "cannot_offer",
"applies_to_type": "specific",
"appointment_type_ids": [
"5e932c0901d210625e3a8766"
],
"date_from": "2026-06-01",
"date_to": "2026-08-31",
"max_duration": 60
}Response
A single PractitionerAppointmentRestriction.
Example response
{
"data": {
"type": "cannot_offer",
"applies_to_type": "specific",
"appointment_types": [
{
"name": "Deep Tissue Massage"
}
],
"categories": [
{
"name": "Massages"
}
],
"date_from": "2026-06-01",
"date_to": "2026-08-31",
"max_duration": 60,
"occupied_mins": 30
}
}Changes
No recorded changes to this endpoint across all 1 revision of this API.