Block or open time
owner_block_timeOnly for business owners signed in to Awning. Close time (day off, break, holiday) for the whole business or one staff member/room, or open extra time with open=true. Remove a block with remove_exception_id. Confirm with the owner first. Use it for one-off closures or extra hours; the regular weekly hours are set with owner_set_schedule. Bookings already in the blocked time are not cancelled: the answer lists them as existing_bookings_in_this_time.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | End of the block, same format; must be after `from`. Required unless removing a block. | |
| from | No | Start of the block, ISO 8601; without an offset it is the business's local time, e.g. 2026-12-25T00:00. Required unless removing a block. | |
| open | No | True to open extra time outside the usual hours instead of closing time. Default false. | |
| reason | No | A note for the owner, e.g. 'holiday' | |
| business_id | No | Which business, when the owner runs several: business_id from owner_status. Leave out when there is only one. | |
| resource_id | No | Only this staff member, room or rental pool: an id from owner_get_schedule. Leave out for the whole business. | |
| remove_exception_id | No | Take a block away: the exception_id from `blocked` in owner_get_schedule or from an earlier answer. Then `from` and `to` are not needed. |