update_booking_policies

Update one or more booking policies in parallel. Each booking policy update requires the booking policy ID, entity type, and entity ID.

Input

Parameter
Type
Required
Description

bookingPolicyId

string

Yes

The ID of the booking policy to update

entityType

EntityType

Yes

The type of entity this booking policy belongs to (UNIT, UNIT_TYPE, or BUILDING). Required to resolve the workspace. - EntityType

entityId

string

Yes

The ID of the parent entity (unit, unit type, or building). Required to resolve the workspace.

checkInTime

string

No

Check-in time (e.g., "15:00")

checkInEndTime

string

No

Check-in end time (e.g., "20:00")

checkOutTime

string

No

Check-out time (e.g., "11:00")

minimumNightStay

number

No

Minimum number of nights for a booking

maximumNightStay

number

No

Maximum number of nights for a booking

minimumBookingAge

number

No

Minimum age required for booking

partiesAllowed

boolean

No

Whether parties are allowed

petsAllowed

boolean

No

Whether pets are allowed

smokingAllowed

boolean

No

Whether smoking is allowed

studentsOnly

boolean

No

Whether the property is for students only

suitableForChildren

boolean

No

Whether the property is suitable for children

suitableForElderly

boolean

No

Whether the property is suitable for elderly

suitableForInfants

boolean

No

Whether the property is suitable for infants

EntityType

Value
Description

UNIT

UNIT_TYPE

BUILDING

Output

Field
Type
Description

content

ContentItem[]

Array of content items returned by the tool - ContentItem

isError

boolean

Whether the tool execution resulted in an error

ContentItem

Field
Type
Description

type

'text'

Content type (currently only 'text' is supported)

text

string

The text content to display

Last updated