Create a schedule override
Block or reshape working hours for time off or holidays. Only the owning barber or a system administrator can create overrides; blocked dates affect availability and the published booking hours customers see.
startsAt and endsAt are a pair: omit both for a full-day override,
or set both for a timed window on each day. Setting only one bound is
rejected.
Examples:
- Single full day off: Set
startsOnandendsOnto the same date, omitstartsAt/endsAt. - Single partial day off: Set
startsOnandendsOnto the same date, setstartsAt(e.g., “14:00”) andendsAt(e.g., “17:00”). - Multi-day vacation: Set
startsOnandendsOn, omitstartsAt/endsAt. - Half days for a week: Set
startsOnandendsOnfor the week, setstartsAtto “12:00” andendsAtto the end of the blocked window (e.g., “17:00”).
Path Parameters
The unique, opaque system identifier for a resource. This case-sensitive ID is also used as path parameters in URLs or in other properties or parameters that reference a resource by ID rather than URL.
Body
Request to create a schedule override.
Type of override.
timeOff, holiday, other Start time for each override day (HH:MM).
Omit with endsAt for a full day, or set both for a timed window; one bound alone is rejected.
End time for each override day (HH:MM).
Omit with startsAt for a full day, or set both for a timed window; one bound alone is rejected.
Reason or description for the override.
255Response
Created.
A schedule override for time off or modified hours.
Unique identifier for the override.
Type of override.
timeOff, holiday, other Start time for each override day (HH:MM).
Omit with endsAt for a full day, or set both for a timed window; one bound alone is rejected.
End time for each override day (HH:MM).
Omit with startsAt for a full day, or set both for a timed window; one bound alone is rejected.
Reason or description for the override.
255