/office_hours_schedules/{office_hours_schedule_id}/office_hours_exceptionsCreate an office hours exception
Creates an exception that overrides the regular hours for a specific date on an office hours schedule. Supply exception_date and choose closed or custom_hours; provide time_intervals for custom hours and omit it for a closed day. Set recurring_annually to repeat the exception on the same date each year.
- IdempotentThe SDK sends
Idempotency-Key, so a retried request is only applied once.
Exception details for one schedule date. exception_date and exception_type are required.
One documented failure
unauthorizedAccess Token Invalid
2 documented failures
not_foundObject not found
data_invalidIntegration not found
One documented failure
data_invalidInvalid or duplicated record reference
A 401 is returned when the request is unauthorized. A 404 is returned when the schedule cannot be found. A 422 is returned when the request fails validation. The office_hours_schedule_id path parameter must identify an existing schedule. exception_date and exception_type are required; exception_date must use YYYY-MM-DD, and exception_type must be closed or custom_hours. Include time_intervals for custom_hours and omit it for closed.