Close dates
add_closed_datesClose the whole location on specific dates (holidays, shutdowns), in its local timezone. Existing appointments on those dates are not cancelled; the response counts them so you can follow up (cancel_appointment or reschedule_appointment). Dates already closed are skipped. Each date becomes its own closure; undo one with remove_closure. For a recurring weekly closed day use set_weekly_hours instead. Requires scope locations:write (Admin role).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dates | Yes | Whole days to close. | |
| reason | No | Shown to staff, e.g. "Christmas". | |
| locationId | Yes | Location id, from list_locations. |