Skip to main content
PUT
Update an office hours schedule

Holidays and exceptions

Use exceptions to configure named holidays, closures and extra opening periods. Dates use the schedule timezone. On update, omit the array to preserve existing exceptions, or send [] to clear them. See Office hours and holidays for precedence, recurrence and examples.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Body

application/json
name
string
required

Updated schedule name

iana_timezone
string
required

Updated IANA timezone

shifts
object[]
required

Complete list of shifts — replaces all existing shifts

exceptions
object[]

Omit to preserve existing exceptions; send [] to clear them

Maximum array length: 200

Response

500 - application/json

Internal Server Error

statusCode
integer
message
string
error
string