Bulk-set the unit-level default calendar availability — the PMS “Default calendar availability” radio. Accepts an array
of {unitId, status} where status is AVAILABLE or UNAVAILABLE. Existing blocks and bookings on the calendar are
not affected; only the default that applies to new dates changes. Returns per-unit success/failure so partial failures
don’t abort the batch.
| Parameter |
Type |
Required |
Description |
updates |
Update[] |
Yes |
Array of {unitId, status} pairs to apply. Each unit is updated independently; per-unit failures are reported without aborting the batch. - Update |
| Field |
Type |
Required |
Description |
unitId |
string |
Yes |
The ID of the unit to update. |
status |
DefaultAvailabilityStatus |
Yes |
AVAILABLE or UNAVAILABLE. - DefaultAvailabilityStatus |
| Value |
Description |
AVAILABLE |
Calendar open by default; close specific ranges to block. |
UNAVAILABLE |
Calendar closed by default; open specific ranges to make bookable. |
| Field |
Type |
Description |
content |
ContentItem[] |
Array of content items returned by the tool - ContentItem |
isError |
boolean |
Whether the tool execution resulted in an error |
| Field |
Type |
Description |
type |
'text' |
Content type (currently only ‘text’ is supported) |
text |
string |
The text content to display |