Update one or more oversell rules by id (name, enabled, maxOversell, span,
leadDays, pCancel, aversionZ, priority). Only supplied fields change. Accepts
an array processed in parallel; partial success is reported per item.
| Parameter |
Type |
Required |
Description |
oversellRules |
UpdateOversellRuleItem[] |
Yes |
Oversell rule updates to apply (1-100, processed in parallel) - UpdateOversellRuleItem |
| Field |
Type |
Required |
Description |
id |
string |
Yes |
The ID of the oversell rule to update |
name |
string |
No |
New label for the rule |
enabled |
boolean |
No |
Enable (true) or disable (false) the rule |
maxOversell |
number |
No |
New hard cap on the per-night oversell (0 = blackout) |
span |
OversellRuleDateSpanInput |
No |
New effective date window - OversellRuleDateSpanInput |
leadDays |
OversellRuleLeadTimeWindowInput |
No |
New lead-time window (days to arrival) - OversellRuleLeadTimeWindowInput |
pCancel |
number | null |
No |
New per-booking cancellation probability. Pass null to clear; omit to leave unchanged. |
aversionZ |
number | null |
No |
New aversion (std-dev discount). Pass null to clear; omit to leave unchanged. |
priority |
number | null |
No |
New precedence value. Pass null to clear; omit to leave unchanged. |
| Field |
Type |
Required |
Description |
from |
string | null |
No |
Start of the window (inclusive), ISO8601 date. On updates, pass null to clear; omit to leave unchanged. |
to |
string | null |
No |
End of the window (inclusive), ISO8601 date. On updates, pass null to clear; omit to leave unchanged. |
| Field |
Type |
Required |
Description |
min |
number | null |
No |
Minimum days to arrival. On updates, pass null to clear; omit to leave unchanged. |
max |
number | null |
No |
Maximum days to arrival. On updates, 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 |