Skip to main content
PATCH
Update an availability schedule

Authorizations

Authorization
string
header
required

API key from Developer dashboard (Bearer token).

Path Parameters

id
integer
required

Schedule id, from the availability list.

Body

application/json
name
string

Schedule name.

time_zone
string

IANA timezone identifier, e.g. Europe/Athens.

is_default
boolean

Make this the default schedule.

weekly
any[]

7 days, Sunday first, each a list of {start, end} ranges in HH:MM. An empty list = closed.

overrides
any[]

List of {date: YYYY-MM-DD, ranges: [{start, end}]}, replacing the existing overrides.

Response

200 - application/json

Success

success
enum<boolean>
Available options:
true
data
object
meta
object