Removing Inventory

If a property/itinerary combination is unavailable, you can remove it with a Transaction message. You typically use this option when a hotel is fully booked for a given night (or series of nights).

These methods are described in the sections that follow.

Removing inventory with a Transaction message

To immediately remove specific property/itineraries from inventory, use a Transaction message. The root element is <Transaction>.

In the message, specify the following settings for each itinerary you want to remove (in the <Result> element):

  1. Set <Baserate> to "-1"
  2. Set <Taxes> to "0"
  3. Set <OtherFees> to "0"

The following example removes several itineraries (1-night stays for several different dates) for hotel "1123581321" from inventory:

<?xml version="1.0" encoding="UTF-8"?>
<Transaction timestamp="2017-07-18T16:20:00-04:00" id="42">
  <Result>
    <Property>1123581321</Property>
    <Checkin>2018-06-07</Checkin>
    <Nights>1</Nights>
    <strong><Baserate currency=&quot;USD&quot;>-1</Baserate>
    <Tax currency=&quot;USD&quot;>0</Tax>
    <OtherFees currency=&quot;USD&quot;>0</OtherFees></strong>
  </Result>
  <Result>
    <Property>1123581321</Property>
    <Checkin>2018-06-08</Checkin>
    <Nights>1</Nights>
    <strong><Baserate currency=&quot;USD&quot;>-1</Baserate>
    <Tax currency=&quot;USD&quot;>0</Tax>
    <OtherFees currency=&quot;USD&quot;>0</OtherFees></strong>
  </Result>
  <Result>
    <Property>1123581321</Property>
    <Checkin>2018-06-09</Checkin>
    <Nights>1</Nights>
    <strong><Baserate currency=&quot;USD&quot;>-1</Baserate>
    <Tax currency=&quot;USD&quot;>0</Tax>
    <OtherFees currency=&quot;USD&quot;>0</OtherFees></strong>
  </Result>
</Transaction>

As this example shows, you must explicitly set the <Baserate> element to "-1" for each itinerary (combinations of check-in dates and number of nights) for which the room is unavailable. In addition, you must set the <Taxes> and <OtherFees> to 0.

To remove a Room Bundle, do not set the <RoomBundle> element's <Baserate> to "-1". Instead, delete the <RoomBundle> element from the <Result>. For more information, see Removing Room Bundles.