Skip to main content
PATCH
Typescript (SDK)

Authorizations

Authorization
string
header
required

API key in the format: Bearer {api_token}

Path Parameters

id
string
required

The resource ID (e.g., "prod_abc123") or slug (e.g., "my-product")

Body

application/json
name
string
Example:

"Working hours"

time_zone
string

IANA timezone the availability is expressed in

Example:

"America/New_York"

availability
object[]

Weekly recurring availability windows. Replaces the existing set.

overrides
object[]

Per-date exceptions (days off or custom hours).

Response

The updated schedule

object
string
required
id
string
required
name
string
required
time_zone
string
required
created_at
string<date-time>
required
updated_at
string<date-time>
required
availability
object[]
required
overrides
object[]
required