Create a product that connects room types and rate plans

Products connect room types to rate plans, and contain details about cancellation policies, mealplans, and booking rules. Use /ota/OTA_HotelProductNotif to create products.

Before you start

To complete this task, you need:

Request

HTTP request

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

Request body

Provide an OTA_HotelProductNotifRQ object in the request body. Example:

<?xml version="1.0" encoding="UTF-8"?>
<OTA_HotelProductNotifRQ
  xmlns="http://www.opentravel.org/OTA/2003/05"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  PrimaryLangID="en-US"
  EchoToken="GUID"   
  Version="1.0"
  Target="Production">
  <HotelProducts HotelCode="{PropertyID}">
    <HotelProduct ProductNotifType="New">
      <RoomTypes>
        <RoomType RoomTypeCode="{RoomTypeID}"/>
      </RoomTypes>
      <RatePlans>
        <RatePlan RatePlanCode="{RatePlanID}" />
      </RatePlans>    
      <ValueAddInclusions>
        <MealPlan MealPlanCode="19" />
      </ValueAddInclusions>
      <PolicyInfo>      
        <BookingRules>
            <BookingRule MinAdvancedBookingOffset="P5H" />
            <BookingRule MaxAdvancedBookingOffset="P14D" />
        </BookingRules>
        <CancelPolicy>
            <CancelPenalty PolicyCode="1" />
        </CancelPolicy>
      </PolicyInfo>
    </HotelProduct>
  </HotelProducts>
</OTA_HotelProductNotifRQ>

Response

The response contains an OTA_HotelProductNotifRS object:

<?xml version="1.0" encoding="UTF-8"?>
<OTA_HotelProductNotifRS 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_HotelProductNotifRS.xsd" TimeStamp="2015-07-31T14:08:46-00:00" Target="Production" Version="3.000">
  <Success />
</OTA_HotelProductNotifRS><!-- RUID: [XXXXXXXXXXXXXXXXXXXXXXXXXXX==] -->

Next steps