InventoryHotel
Object used in required hotels array containing information about a particular hotel.
Used in: hotel_inventory
Field |
Type |
Description |
ta_id |
number |
[Optional] The Tripadvisor identification number for this hotel. This is used to aid our automated matching process but does not guarantee that a match will be found. |
partner_id |
string |
The unique string that the parter uses to identify this hotel. Maximum length 30 characters. Required for mapping purposes and availability requests. Each hotel must have a unique partner_id. |
name |
string |
Name of the hotel, in English. Maximum 300 characters. Required for automated matching. May not be blank.
|
street |
string |
Street address, in English. Maximum 300 characters. Field required for automated matching. May not be blank.
|
city |
string |
City of the hotel, in English. Maximum 100 characters. Required for automated matching. May not be blank.
|
postal_code |
string |
[Optional] Postal Code for the hotel. Maximum 20 characters. Highly suggested to assist automated matching.
|
state |
string |
U.S. Properties: Required
Other Properties: Optional (Strongly recommended. Used to assist automated matching.)
State, province, or other mid-level geographic region of the hotel, in English. Maximum 100 characters.
|
country |
string |
Country of the hotel, in English. Maximum 100 characters. Required for automated matching. May not be blank.
|
latitude |
number |
[Optional] Latitude of the hotel.
|
longitude |
number |
[Optional] Longitude of the hotel.
|
desc |
string |
[Optional] Description of the hotel. Maximum 1000 characters.
|
amenities |
string |
[Optional] Array of Strings. Each String corresponds to an amenity. See Hotel Amenities table at end of this document for all supported examples.
|
url |
string |
The URL of the hotel on the partner site. Make this URL as specific as possible for the hotel and it must be unique in your inventory. Duplicate URLs in the Hotel Inventory will cause the feed import to fail. This URL must be accessible with a GET request. Maximum 2000 characters. Required for availability requests.
|
email |
string |
[Optional] Email address of the hotel. Maximum 256 characters.
|
phone |
string |
[Optional] Phone number of the hotel. Maximum 50 characters.
|
fax |
string |
[Optional] Fax number of the hotel. Maximum 50 characters.
|
room_types |
Map of InventoryRoomType objects |
[Optional] Map that use a short description as the key and an inventory room type object as the value. The maximum length of the short description is 100 characters. The room type short descriptions listed for a hotel must be distinct.
|