Modifying property name¶
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.
The /ota/OTA_HotelDescriptiveContentNotif endpoint also enables you to change the property name, but only when property ownership (legal entity id) does not change. If the legal entity id does change, you must follow the change of ownership process.
Major name change
If the name change is significant (major change), then all guests who booked a stay when the old name was still used receive an email informing them of the new property name.
When renaming a property, ensure that the name:
- Has a length between 3 and 255 characters.
- Does not contain a phone number (or no more than five consecutive numbers).
- Only contains letters (any language), numbers, or the following symbols: ! # & ` ' " - ,
- Is not all in uppercase.
Certain words are blacklisted
If a name is rejected, the property name could contain a blacklisted word. If you do not think this is the case, reach out to our Customer Support.
The following table lists the header parameters in the request:
||Machine account username and password||string||Required||Example:
You can find the body parameters in the following table:
||Contains the following attributes:
||object||required||The default value for
Request body example¶
You can find a request body example below:
<OTA_HotelDescriptiveContentNotifRQ Target="Production"> <HotelDescriptiveContents> <HotelDescriptiveContent HotelDescriptiveContentNotifType="Overlay" HotelCode="12345" HotelName="The New Property Name"> </HotelDescriptiveContent> </HotelDescriptiveContents> </OTA_HotelDescriptiveContentNotifRQ>
You can find a sample response below:
<OTA_HotelDescriptiveContentNotifRS Target="Production"> <Success /> </OTA_HotelDescriptiveContentNotifRS> <!-- RUID: [UmFuZG9t] -->
||Denotes the success of the request.||object|