Skip to main content
GET
Get business hours

Authorizations

X-Initdesk-Token
string
header
required

Path Parameters

organization_id
integer
required

Response

200 - application/json
timezone
string | null
required

IANA time zone, for example America/Sao_Paulo. Required when saving. Null only when no schedule is saved.

weekly_hours
object
required

Keys mon, tue, wed, thu, fri, sat, sun. null means closed. One range is {"opens_at": "09:00", "closes_at": "18:00"} (24-hour HH:MM, no seconds). Omit a key to store that day as closed.

Example:
is_open_now
boolean
required
read-only

True when the organization is open at the current time.

next_open
string<date-time> | null
required
read-only

Start of the next opening after the current stretch, as ISO-8601 UTC. Null when there is no next opening.

next_open_display
string
required
read-only

next_open in the organization working language. Empty when there is no next opening.