updateStayPackage
Update an existing pricing package on a Stay. Supplying 'prices' replaces ALL price rows for that package. Requires an MCP agent token scoped to the owning account.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| listed | No | ||
| maxPax | No | ||
| prices | No | OPTIONAL: replaces ALL price rows for this package when supplied. Exactly one entry per 7/14/21/30-night tier used. | |
| stayId | Yes | The Stay's EntryID | |
| endDate | No | OPTIONAL: last check-in date this package is available for | |
| isActive | No | OPTIONAL: archive (false) or restore (true) this package — cascades to 'listed' on all its price tiers, matching the host UI's Archive/Restore actions | |
| packageId | Yes | The package's EntryID (tbStayPackages) | |
| startDate | No | OPTIONAL: first check-in date this package is available for | |
| currencyFK | No | Call getCurrencyOptions for valid values. | |
| roomTypeFK | No | Call getRoomTypeOptions for valid values. | |
| stayRoomFK | No | The specific room this package covers (tbStaysRoom.EntryID). Call getMyStayRooms to find valid values. | |
| description | No | ||
| packageName | No | ||
| advertisingEndpoint | No | OPTIONAL: only usable on Advertising-business-model Stays — ignored otherwise, matching the host UI which hides this field for all other business models. |