createStayRoom
Create a new room on a Stay. Call getRoomTypeOptions(stayId) and getRoomFacilityOptions() first to find valid roomTypeFK/roomFacilityFk values. Boutique Stays are capped at 6 rooms total (one per Boutique1-6 slot) — creation is rejected once all 6 exist. Requires an MCP agent token scoped to the owning account.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| beds | No | OPTIONAL: number of beds | |
| stayId | Yes | The Stay's EntryID | |
| maxPerson | No | OPTIONAL: max occupancy | |
| mcpRoomId | No | OPTIONAL: external MCP room identifier to bind. NOT AVAILABLE for boutique Stays — the host UI has no field for this there, and the API will reject it. | |
| roomTitle | Yes | Room name/title | |
| roomTypeFK | No | REQUIRED for non-boutique Stays — a roomTypeId from getRoomTypeOptions(stayId). IGNORED for boutique Stays — the next available Boutique1-6 slot is auto-assigned server-side, matching the host UI (which has no room-type picker for boutique room creation). | |
| mainBedSize | No | OPTIONAL: main bed size | |
| otherBedSize | No | OPTIONAL: other bed size, or empty for none | |
| roomFacilityFk | No | OPTIONAL: facilityDetailId values from getRoomFacilityOptions() — the full set of amenities this room has. Wi-Fi is added automatically even if omitted. | |
| roomDescription | No | OPTIONAL: room description |