Update structural fields on multiple unit types in parallel. Marketing copy (title, descriptions, translations) is
intentionally not editable here — use update_marketing_details for that.
| Parameter |
Type |
Required |
Description |
unitTypes |
UpdateUnitTypeInput[] |
Yes |
Array of unit types to update - UpdateUnitTypeInput |
| Field |
Type |
Required |
Description |
unitTypeId |
string |
Yes |
The ID of the unit type to update |
airbnbPartialSyncOnlyRatesAndAvailability |
boolean |
No |
Whether to sync only rates and availability with Airbnb |
code |
string |
No |
The unit type code |
currencyCode |
string |
No |
Currency code (e.g., “EUR”, “USD”) |
editable |
boolean |
No |
Whether the unit type is editable |
editableAddress |
boolean |
No |
Whether the address is editable |
enabledPofIntegrations |
boolean |
No |
Whether POF integrations are enabled |
interactionWithGuests |
string | null |
No |
Description of guest interaction. Pass null to clear; omit to leave unchanged. |
manualPricingEnabled |
boolean |
No |
Whether manual pricing is enabled |
maxOccupants |
number |
No |
Maximum number of occupants |
numberOfBedrooms |
number |
No |
Number of bedrooms |
numberOfBathrooms |
number |
No |
Number of bathrooms |
numberOfFloors |
number | null |
No |
Number of floors. Pass null to clear; omit to leave unchanged. |
residential |
boolean |
No |
Whether the unit is residential |
sizeInSqm |
number |
No |
Size of the unit in square meters |
status |
string |
No |
Status of the unit (e.g., “active”) |
vat |
string |
No |
VAT rate as a string |
addressId |
string |
No |
ID of the address to associate with this unit type |
buildingId |
string |
No |
ID of the building to associate with this unit type |
bookingComRoomNameId |
string | null |
No |
ID of the Booking.com room name to associate with this unit type; pass null to clear the association. Setting this persists the FK but does NOT push the new room name to Booking.com — invoke publish_listing on the BDC channel listing afterwards to trigger the ListingUpserter run. |
propertyTypeId |
string |
No |
ID of the property type to associate with this unit type |
spaceTypeId |
string |
No |
ID of the space type to associate with this unit type |
| 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 |