Skip to content

WorkingHours

A staff member's weekly working hours.

account_idstringrequired

Setmore account id.

Example:"acc_123456"
provider_idstringrequired

Staff member id.

Example:"provider_123456"
timezonestringrequired
Example:"America/New_York"
week_day_configobject(WeekDayConfig)required

Weekly configuration of working hours, keyed by two-letter day abbreviation.

{ "account_id": "acc_123456", "provider_id": "provider_123456", "timezone": "America/New_York", "week_day_config": { "MO": { … }, "TU": { … }, "WE": { … }, "TH": { … }, "FR": { … }, "SA": { … }, "SU": { … } } }