Skip to content

update_unit_type_discounts

Set or clear the weekly and monthly stay discounts (whole-number percentages) on one or more unit types. These discounts apply to Airbnb and direct booking websites only and remain editable when a pricing integration is enabled. Other default pricing values are left unchanged.

Parameter Type Required Description
unitTypes UnitTypeDiscountUpdate[] Yes Unit types to update (maximum 100 per call) - UnitTypeDiscountUpdate
Field Type Required Description
unitTypeId string Yes The ID of the unit type whose discounts to update
weeklyDiscount number | null No Weekly stay discount as a whole-number percentage (0-100), applied to stays of 7+ nights on Airbnb and direct booking websites. Pass null to clear; omit to leave unchanged.
monthlyDiscount number | null No Monthly stay discount as a whole-number percentage (0-100), applied to stays of 28+ nights on Airbnb and direct booking websites. Pass null to clear; omit to leave unchanged.
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