Deactivate a room type

You can deactivate a room type to hide it from bookers. Use /ota/OTA_HotelInvNotif to deactivate room types.

Before you start

You need:

Request

HTTP request

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

Request body

Provide an OTA_HotelDescriptiveContentNotifRQ 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 InvNotifType="Overlay" InvStatusType="Deactivated" InvCode="{RoomTypeID}">
      <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">
    <Success />
</OTA_HotelInvNotifRS>
<!-- RUID: [XXXXXXXXXXXXXXXXXXXXXXXXXXX==] -->

Next steps