createStayPackage
Create a new pricing package on a Stay, optionally with initial price tiers. Requires an MCP agent token scoped to the owning account.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| listed | No | OPTIONAL: whether the package is publicly listed | |
| maxPax | No | OPTIONAL: max occupancy for this package | |
| prices | No | OPTIONAL: initial price tiers. If supplied, replaces all price rows for the package. 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 | |
| startDate | No | OPTIONAL: first check-in date this package is available for | |
| currencyFK | No | OPTIONAL: currency id. Call getCurrencyOptions for valid values. | |
| roomTypeFK | No | OPTIONAL: room type id this package covers. Call getRoomTypeOptions for valid values. | |
| stayRoomFK | No | STRONGLY RECOMMENDED: the specific room this package covers (tbStaysRoom.EntryID). Call getMyStayRooms to find the right room id first. If omitted, the server guesses a room matching roomTypeFK, which may pick the wrong one when a Stay has multiple rooms of the same type. | |
| description | No | OPTIONAL: package description | |
| packageName | Yes | Package name | |
| 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. Check getBusinessModelOptions / the Stay's businessModelFK before setting. |