Last updated

← Step 5 – Create product Next: Step 7 – Checks →


Step 6 – Push availability

You have created your property, set up rooms and rates, and combined them into products. The final thing you need to do is push availability. That means: specify the dates on which the property's rooms are available to book. We recommend pushing availability for at least one year in advance.

Use this method and URL to specify availability:

https://supply-xml.booking.com/hotels/xml/availability
Length of Stay pricing

If you support Length of Stay (LOS) pricing, use the endpoint [csv/los_pricing][csv-los_pricing] instead. The example below will not work for LOS pricing. Your call may get a successful response, but you'll have problems later.

Most Booking.com Connectivity Partners do not support LOS pricing. Ask your account manager if you're not sure.

Sample request

<request>
  <version>1.0</version>
  <!-- Replace the {PlaceHolders} in the following lines! -->
  <room id="{RoomTypeID}">
    <date from="{YYYY-MM-DD}" to="{YYYY-MM-DD}">
      <rate id="{RatePlanID}"/>
      <roomstosell>25</roomstosell>
      <price>150.00</price>
    </date>
  </room>
</request>
Why does this request look different?

The Partner Supply API uses two XML standards: OTA and B.XML. The Rates & Availability module has endpoints for both standards, but this example uses B.XML. That means you'll see some differences in body structure, object names, and case (upper versus lower). Learn more about OTA and B.XML.

Sample response

A successful response only says ok:

<ok></ok>
<!-- RUID: [UmFuZG9...] -->
To learn more

To learn more about the last call, see availability

← Step 5 – Create product Next: Step 7 – Checks →