Set weekly hours
set_weekly_hoursReplace a location's hours for the listed days (days you leave out are unchanged; an empty windows list closes that day). A booking must fit entirely inside one window, so to offer fixed slots, make each window exactly one appointment long: 08:00–10:00 and 10:30–12:30 with a 2-hour type offer only 8:00 and 10:30. For one-off closures (holidays) use add_closed_dates instead. Returns the full location setup. Requires scope locations:write (Admin role).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | Yes | One entry per day to replace; at least one. | |
| locationId | Yes | Location id, from list_locations. |