{"templateId":"markdown","sharedDataIds":{},"props":{"metadata":{"markdoc":{"tagList":["admonition"]},"type":"markdown"},"seo":{"title":"Room types objects","siteUrl":"https://developers.booking.com","llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"room-types-objects","__idx":0},"children":["Room types objects"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Details about room types are stored in a ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["GuestRoom"]}," element. This page describes the elements and attributes in the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["GuestRoom"]}," descendants tree."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"related-calls","__idx":1},"children":["Related calls"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/connectivity/docs/ota-hotelinvnotif"},"children":["OTA_HotelInvNotif"]}," — Create a room type within a property."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"sample-xml","__idx":2},"children":["Sample XML"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The sample below is an excerpt and not a valid API request."]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"xml","header":{"controls":{"copy":{}}},"source":"<GuestRoom>                \n  <Occupancy MaxOccupancy=\"2\" MaxAdultOccupancy=\"2\" MaxChildOccupancy=\"1\"/>\n  <Quantities MaximumAdditionalGuests=\"1\" MaxCribs=\"1\" MaxRollaways=\"0\">\n  <Room RoomID=\"123444\"\n    Quantity=\"2\"\n    NonSmoking=\"1\"\n    RoomType=\"Double\"\n    SizeMeasurement=\"16\"\n    SizeMeasurementUnit=\"sqm\"\n    LicenseNumber=\"AB-CD-1234\"/>\n  <Amenities>\n    <Amenity AmenityCode=\"28\" />                  \n    <Amenity AmenityCode=\"69\"\n      Value=\"5\" />                \n    <Amenity AmenityCode=\"33\"\n      Value=\"1\"\n      Configuration=\"1\"/>\n  </Amenities>\n  <Description>                    \n    <Text>Deluxe Double Room with Sea View</Text>                    \n  </Description>\n  <TPA_Extensions>                     \n    <SubRooms>\n      <SubRoom RoomType=\"Bedroom\"\n        PrivateBathroom=\"1\"\n        MaxGuests=\"2\">                         \n        <Amenities>\n          <Amenity AmenityCode=\"200\"\n            Value=\"3\" />\n          </Amenities>\n      </SubRoom>\n      <SubRoom RoomType=\"Living room\"\n        MaxGuests=\"2\">  \n        <Amenities>\n          <Amenity AmenityCode=\"33\"\n            Value=\"2\" />\n          </Amenities>\n        </SubRoom>\n      <SubRoom RoomType=\"Bathroom\"\n        Number=\"2\" />\n    </SubRooms>\n    <Occupancy MaxChildPayableOccupancy=\"4\" />\n  </TPA_Extensions>\n</GuestRoom>\n","lang":"xml"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"guestroom","__idx":3},"children":["GuestRoom"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Contains information about a single ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/connectivity/docs/ota-hotelinvnotif"},"children":["room type"]},"."]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Field"},"children":["Field"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Description"},"children":["Description"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Type"},"children":["Type"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Required"},"children":["Required"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Notes"},"children":["Notes"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Occupancy"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Contains the room type occupancy details."]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["object"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["1..1"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["-"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"sub","attributes":{},"children":[" ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Occupancy"]},"/"]},{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"code","attributes":{},"children":["@MaxOccupancy"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Specifies the maximum number of guests allowed to stay in the room type."]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["int"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["0..1"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["You cannot specify ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Occupancy"]}," for subrooms."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"sub","attributes":{},"children":[" ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Occupancy"]},"/"]},{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"code","attributes":{},"children":["@MaxAdultOccupancy"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Specifies the maximum number of adult guests allowed to stay in the room type."]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["int"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["0..1"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"sub","attributes":{},"children":["  ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Occupancy"]},"/"]},{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"code","attributes":{},"children":["@MaxChildOccupancy"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Specifies the maximum number of children allowed to stay in the room type physically."]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["int"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["0..1"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The value for ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["@MaxChildOccupancy"]}," is always lower than that for ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["@MaxAdultOccupancy"]},", because you cannot have a room with only children."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Quantities"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Contains the crib and extra bed details."]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["object"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["1..1"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["-"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"sub","attributes":{},"children":[" ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Quantities"]},"/"]},{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"code","attributes":{},"children":["@MaximumAdditionalGuests"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Specifies the maximum number of additional guests allowed to stay in the room."]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["int"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["0..1"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"sub","attributes":{},"children":[" ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Quantities"]},"/"]},{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"code","attributes":{},"children":["@MaxCribs"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Specifies the maximum number of cribs in the room."]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["int"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["0..1"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"sub","attributes":{},"children":[" ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Quantities"]},"/"]},{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"code","attributes":{},"children":["@MaxRollaways"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Specifies the maximum number of extra beds (rollaways) in the room."]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["int"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["0..1"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Room[@RoomID]"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["A custom room ID, assigned by the provider, for cross-referencing and mapping purposes."]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Optional"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The Booking.com room type ID is stored in ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["SellableProduct[@InvCode]"]},"."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Room[@RoomType]"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The number or name of the ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/connectivity/docs/codes-bcrt"},"children":["Booking.com Room Type Code"]},"."]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["enum"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Required"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Accepts the numbers and names listed under ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/connectivity/docs/codes-bcrt"},"children":["BCRT"]},"."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Room[@Quantity]"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The number of rooms of this type the property has."]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["integer"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Optional"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["-"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Room[@NonSmoking]"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Specifies whether the property allows smoking in the room."]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["extended_boolean"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Optional"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Accepts: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["1"]}," (non-smoking), ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["0"]}," (smoking allowed). Default: empty",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["NOTE:"]}," In ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://admin.booking.com"},"children":["Extranet"]},", an empty value is displayed as \"unknown\"."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Room[@SizeMeasurement]"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The size of the room."]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["float"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Optional"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The default measurement unit is square metres. Use ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Room[@SizeMeasurementUnit]"]}," to specify another unit."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Room[@SizeMeasurementUnit]"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The measurement unit for ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Room[@SizeMeasurement]"]},"."]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["enum"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Optional"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Accepts: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["sqm"]}," (square metres), ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["sqft"]}," (square feet). Default: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["sqm"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Room[@LicenseNumber]"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The licence number of the room, mandatory for certain regions."]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Optional"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Required"]}," in certain countries and cities in the world. Your account manager can tell you more."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Amenities"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["-"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["array of ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#amenity"},"children":["Amenity"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Optional"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["-"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Description"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["See ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#description"},"children":["Description"]},"."]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["object"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Required"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["-"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["TPA_Extensions"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["See ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#tpa_extensions"},"children":["TPA_Extensions"]},"."]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["object"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Optional"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["-"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"amenity","__idx":4},"children":["Amenity"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Contains details of a ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/connectivity/docs/codes-rma"},"children":["room amenity"]},". Child of ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Amenities"]},"."]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Field"},"children":["Field"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Description"},"children":["Description"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Type"},"children":["Type"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Required"},"children":["Required"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Notes"},"children":["Notes"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Amenity[@AmenityCode]"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/connectivity/docs/codes-rma"},"children":["Room Amenity Type Code"]},"."]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["enum"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Required"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Accepts the values under ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/connectivity/docs/codes-rma"},"children":["RMA"]},".",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["NOTE:"]}," Amenities in ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#subroom"},"children":["subrooms"]}," can only be ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/connectivity/docs/codes-rma#bedding-type"},"children":["beds"]},"."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Amenity[@Value]"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The type of charge for the amenity."]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["enum"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Optional"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Required and only allowed"]}," when ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/connectivity/docs/codes-rma"},"children":["RMA"]}," code type is not ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["boolean"]},". Accepts: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["3"]}," (not specified), ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["4"]}," (free of charge), ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["5"]}," (surcharge)."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Amenity[@Configuration]"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Specifies whether this amenity is available in the standard or the alternative room arrangement."]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["enum"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Optional"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Required and only allowed"]}," when ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/connectivity/docs/codes-rma"},"children":["RMA"]}," code is a ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/connectivity/docs/codes-rma#bedding-type"},"children":["bed type"]},". Accepts: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["1"]}," (standard arrangement), ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["2"]}," (alternative arrangement)."]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"description","__idx":5},"children":["Description"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Contains the descriptive text for the room that appear on Booking.com. Child of ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#guestroom"},"children":["GuestRoom"]},"."]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Field"},"children":["Field"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Description"},"children":["Description"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Type"},"children":["Type"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Required"},"children":["Required"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Notes"},"children":["Notes"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Text"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["A custom, optional name for the room in English."]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Optional"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["If empty, we assigned a default name based on ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Room[@RoomType]"]},"."]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"tpa_extensions","__idx":6},"children":["TPA_Extensions"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Our extensions to the ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"http://opentravelmodel.net/pubs/specifications/Specifications.html"},"children":["OTA"]}," standard. Child of ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#guestroom"},"children":["GuestRoom"]},"."]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Field"},"children":["Field"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Description"},"children":["Description"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Type"},"children":["Type"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Required"},"children":["Required"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Notes"},"children":["Notes"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["SubRooms"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["-"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["array of ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#subroom"},"children":["SubRoom"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Optional"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Only allowed when ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Room[@RoomType]"]}," is one of the following: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Apartment"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Suite"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Chalet"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Bungalow"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Holiday home"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Villa"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Mobile home"]},"."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Occupancy"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["-"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Contains ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["MaxChildPayableOccupancy"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Optional"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"subroom","__idx":7},"children":["SubRoom"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Contains details of a subroom. Child of ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["SubRooms"]},". Use subrooms to define separate rooms within one bookable unit, as might be the case in an apartment or holiday home."]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info","name":"Limitations for subrooms"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["You can only define subrooms when ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Room[@RoomType]"]}," is one of the following: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Apartment"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Suite"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Chalet"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Bungalow"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Holiday home"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Villa"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Mobile home"]},". Also, the total number of beds in all subrooms must match the number of beds defined in ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Amenities"]},". If the number does not match, [ota/OTA_HotelSummaryNotif][ota_hotelsummarynotif] will return an error when you try to open the property."]}]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Field"},"children":["Field"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Description"},"children":["Description"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Type"},"children":["Type"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Required"},"children":["Required"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Notes"},"children":["Notes"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["SubRoom[@RoomType]"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The type of subroom."]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["enum"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Required"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Accepts: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Living room"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Bedroom"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Bathroom"]},"."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["SubRoom[@PrivateBathroom]"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Specifies whether the subroom has a private bathroom."]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["boolean"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Optional"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Only allowed when ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["SubRoom[@RoomType]"]}," is ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Living room"]}," or ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Bedroom"]},". Boolean expressed as integer. Accepts: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["1"]}," (has private bathroom), ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["0"]}," (has no private bathroom).  Default: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["0"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["SubRoom[@MaxGuests]"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Specifies the number of guests that can stay in the room."]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["integer"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Required"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Only allowed when ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["SubRoom[@RoomType]"]}," is ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Living room"]}," or ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Bedroom"]},". Accepts: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["1"]},"–",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["20"]},"."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["SubRoom[@Number]"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The total number of bathrooms in the bookable unit."]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["integer"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Optional"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Only allowed when ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["SubRoom[@RoomType=\"Bathroom\"]"]},". Accepts: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["0"]},"–",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["20"]},"."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Amenities"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["-"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["array of ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#amenity"},"children":["Amenity"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Optional"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Amenities in subrooms can only be ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/connectivity/docs/codes-rma#bedding-type"},"children":["beds"]},"."]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"occupancy","__idx":8},"children":["Occupancy"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Contains details of Occupancy. Maximum number of children that are eligible for the children rate – any more children will be charged as adults."]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"warning","name":"MaxChildPayableOccupancy cannot be greater than MaxChildOccupancy"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["If a higher value is sent then the max value will be silently set for MaxChildPayableOccupancy"]}]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Field"},"children":["Field"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Description"},"children":["Description"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Type"},"children":["Type"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Required"},"children":["Required"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Notes"},"children":["Notes"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Occupancy[@MaxChildPayableOccupancy]"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Specifies the maximum number of children allowed to stay in the room type that pay children rates"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["integer"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["optional"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The value for MaxChildPayableOccupancy cannot be greater than MaxChildOccupancy."]}]}]}]}]}]},"headings":[{"value":"Room types objects","id":"room-types-objects","depth":1},{"value":"Related calls","id":"related-calls","depth":2},{"value":"Sample XML","id":"sample-xml","depth":2},{"value":"GuestRoom","id":"guestroom","depth":2},{"value":"Amenity","id":"amenity","depth":2},{"value":"Description","id":"description","depth":2},{"value":"TPA_Extensions","id":"tpa_extensions","depth":2},{"value":"SubRoom","id":"subroom","depth":2},{"value":"Occupancy","id":"occupancy","depth":2}],"frontmatter":{"title":"Room types objects","description":"Reference for the GuestRoom, Occupancy, Quantities, Amenity, SubRoom, and Description XML elements used to create and manage room types in the Booking.com Content API via OTA_HotelInvNotif.","keywords":{"includes":["room type objects","guestroom","ota_hotelinvnotif","maxoccupancy","quantities","SubRoom","subroom","GuestRoom","OTA_HotelInvNotif","MaxOccupancy","Quantities"]},"seo":{"title":"Room types objects"}},"lastModified":"2026-06-22T12:29:42.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/connectivity/docs/room-types","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}