# RoomType

Multiple ancestors
`RoomType` is a descendant of:

* [HotelProduct](/connectivity/docs/api-reference/hotelproduct)
* [RoomStay](/connectivity/docs/api-reference/roomstay)


## [HotelProduct](/connectivity/docs/api-reference/hotelproduct)

### Fields

| Field | Description | Type | Min/max | Notes |
|  --- | --- | --- | --- | --- |
| [RoomTypes](/connectivity/docs/api-reference/roomtypes)/`RoomType` | Room type details. | array of [RoomType](/connectivity/docs/api-reference/roomtype) | 1..* | - |
| `RoomType`/`RoomTypeCode` | The Booking.com room type ID. | string | 1..1 | Returned in [OTA_HotelInvNotifRS](/connectivity/docs/api-reference/ota_hotelinvnotifrs) on creation of the room type. |
| `RoomType`/`@MaxOccupancy` | Specifies the maximum number of guests for all combinations of room type and rate plan in the product. | string | 0..1 | - |


### XML


```xml
<RoomType
  RoomTypeCode="146051004"
  MaxOccupancy="3" />
```

## [RoomStay](/connectivity/docs/api-reference/roomstay)

### Fields

| Field | Description | Type | Min/max | Notes |
|  --- | --- | --- | --- | --- |
| [RoomTypes](/connectivity/docs/api-reference/roomtypes)/`RoomType` | Room type details. | object | 0..* | - |
| `RoomType`/`@RoomTypeCode` | The Booking.com [room type](/connectivity/docs/codes-bcrt) ID. | string | 1..1 |  |
| `RoomType`/[RoomDescription](/connectivity/docs/api-reference/roomdescription) | Contains a description of the room, as well as information about included meals and the number of children that can stay at no extra charge. | object | 1..1 |  |
| `RoomType`/[Amenities](/connectivity/docs/api-reference/amenities) | Contains room facilities included in the reservation. | array of [Amenity](/connectivity/docs/api-reference/amenity) | 1..1 |  |
| `RoomType`/[AdditionalDetails](/connectivity/docs/api-reference/additionaldetails) | Room info as displayed on Booking.com at the time of reservation, modification, or cancellation (whichever applies). | array of [AdditionalDetail](/connectivity/docs/api-reference/additionaldetail) | 1..1 |  |


### XML


```xml
<RoomType
  RoomTypeCode="36745601">
   <RoomDescription ... >
     ...
   </RoomDescription>
   <AdditionalDetails>
    ...
   </AdditionalDetails>
   <Amenities>
    ...
   </Amenities>
</RoomType>
```

## Related endpoints

* [/ota/OTA_HotelProductNotif](/connectivity/docs/ota-hotelproductnotif)
* [/ota/OTA_HotelResNotif](/assets/ota-resnotif.0246048b9c717d1a5855d6674e26c38dabca2d621c6e35c8db7aba16f8794661.53c68abe.md)
* [/ota/OTA_HotelResModifyNotif](/assets/ota-resmodifynotif.db8d41e1bc79646e4858455554c34b992ccb01469da7502fbb3cc803dccb64f5.53c68abe.md)