Create a room type

A room type contains a room's physical characteristics, such as its size, the amenities it offers, and how many of its type exist at the property. Use /ota/OTA_HotelInvNotif to create room types.

Before you start

This example shows how to create a basic double room. If you're working with an independent property (such as a holiday home or apartment), you may need to create a multi-bedroom setup instead.

To complete this task, you need:

Request

HTTP request

POST https://supply-xml.booking.com/hotels/ota/OTA_HotelInvNotif

Request body

Provide an OTA_HotelInvNotifRQ object in the request body. Example:

<OTA_HotelInvNotifRQ xmlns="http://www.opentravel.org/OTA/2003/05" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opentravel.org/2014B/OTA_HotelInvNotifRQ.xsd" version="6.000" id="OTA2014B" TransactionIdentifier="5" Target="Production">
    <SellableProducts HotelCode="{PropertyID}">
        <SellableProduct InvStatusType="Initial">
            <GuestRoom>
                <!-- MaxOccupancy: Maximum number of guests-->
                <Occupancy MaxOccupancy="2"/>
                <Room NonSmoking="1" RoomType="Double" SizeMeasurement="16" />
                <Amenities>
                      <Amenity AmenityCode="61"/>
                      <Amenity AmenityCode="69" Value="1"/>
                      <Amenity AmenityCode="33" Value="2"/>
                </Amenities>
                <Description>                    
                    <Text>Deluxe Double Room with Sea View</Text>
                    <!-- LocalText: Local room name, only shown when guest selects the specified language on Booking.com (French in this case). -->
                    <LocalText Language="fr">Chambre Double de Luxe - Vue sur Mer</LocalText>
                    <!-- We recommended uploading at least 4 room photos (2048x1536px, landscape) -->
                    <Image>http://pathtoimage/doublemer_room001.jpg</Image>
                </Description>
            </GuestRoom>
        </SellableProduct>
    </SellableProducts>
</OTA_HotelInvNotifRQ>

Response

The response contains an OTA_HotelInvNotifRS object:

<?xml version="1.0" encoding="UTF-8"?>
<OTA_HotelInvNotifRS xmlns="http://www.opentravel.org/OTA/2003/05" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opentravel.org/OTA/2003/05 OTA_HotelInvNotifRS.xsd" TimeStamp="2019-07-31T13:46:52-00:00" Target="Production" Version="3.000">
    <InventoryCrossRefs>
        <InventoryCrossRef ResponseInvCode="{RoomTypeID}" />
    </InventoryCrossRefs>
    <Success />
</OTA_HotelInvNotifRS><!-- RUID: [XXXXXXXXXXXXXXXXXXXXXXXXXXX==] -->

Next steps