API solution no longer usable

Managing photos through OTA_HotelDescriptiveContentNotif, OTA_HotelInvNotif, and OTA_HotelDescriptiveInfo sunsetted on April 1, 2022. Please see the deprecation policy documentation for more details.

This documentation section concerns an API solution that is no longer usable. It will be removed on June 1, 2022. Until then, you can still access it by clicking here

Modify a room's photos

Each room has its own photo gallery, stored in a room type. Use /ota/OTA_HotelInvNotif to modify room types.

New Photo API

This page explains how to modify photos using Content API's "overlay" system. We recommend using our new Photo API instead, as it is RESTful and speaks JSON.

Before you start


Content API uses an overlay system. Every time you update an existing property, room type, or other object, the body of your request replaces whatever information was stored in our servers at that time. This means existing information may be deleted if you don't include it in your request.

To update an object without deleting information, make sure your request contains both the fields you want to update and those you want to keep the same. Copy/paste sample requests from this page at your own risk.

You need:


HTTP request


Request body

Provide an OTA_HotelInvNotifRQ object in the request body. Example:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<OTA_HotelInvNotifRQ version="6.0" Target="Production" xmlns="http://www.opentravel.org/OTA/2003/05">
    <SellableProducts HotelCode="{PropertyID}">
        <SellableProduct InvNotifType="Active" InvCode="{RoomTypeID}">
                      <!-- We recommended uploading at least 4 room photos (2048x1536px, landscape) -->


The response contains an OTA_HotelInvNotifRS object:

<?xml version="1.0" encoding="UTF-8"?>
  xsi:schemaLocation="http://www.opentravel.org/OTA/2003/05 OTA_HotelInvNotifRS.xsd"
    <Warning Code="733" ShortText="Restricted">Content of GuestRoom/Description/Text is empty</Warning>
  <Success />

Next steps

Asynchronous image processing

Uploaded images take time to process. This means your new property may have errors later, even if the initial response was 200 OK. You can always check the status of your property's content with /ota/OTA_HotelSummaryNotif.