Reorder oversell rules by precedence for one or more unit type + channel groups
(first id = highest priority, wins on overlap). orderedIds must list exactly the
current rules for that group. Accepts an array of groups processed in parallel;
partial success is reported per item.
| Parameter |
Type |
Required |
Description |
reorders |
ReorderOversellRulesGroup[] |
Yes |
Reorder instructions, one per unit type + channel (1-100, processed in parallel) - ReorderOversellRulesGroup |
| Field |
Type |
Required |
Description |
channel |
OversellRuleChannel |
Yes |
OTA channel whose rules are being reordered - OversellRuleChannel |
unitTypeId |
string |
Yes |
The ID of the unit type (multi-unit group) |
orderedIds |
string[] |
Yes |
All rule IDs for this unit type + channel in the desired precedence order — the first id becomes the highest priority (wins on overlap). Must list exactly the current rules. |
| Value |
Description |
BOOKING_COM |
Booking.com — the only OTA channel supported by oversell rules in v1 |
| 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 |