Create Property
The endpoint allows users to create a new property by providing essential details, including the property name, category, physical location, check-in and check-out times, and other relevant information. Upon successful processing of the request, the endpoint will provide a unique property ID for the newly created property.
Endpoint
POST
Attributes
hotel_id alphanumeric (Required)
The unique property ID as assigned by the provider upon creation of the property.
legal_entity_id string (Required)
The unique id for the legal entity associated with the hotel.
position object
Object containing geographical coordinates of the property.
latitude double (Required)
Latitude coordinates of the hotel location.
longitude double (Required)
Longitude coordinates of the hotel location.
check_in object
Object containing check-in times.
from enumerated string (Required)
Start time for check-in (required).
until enumerated string (Optional)
End time for check-in.
check_out object
Object containing check-out times.
from enumerated string (Optional)
Start time for check-out (optional).
until enumerated string (Required)
End time for check-out (required if check_out > from is specified).
property_name string (Required)
Name of the hotel property on Booking.com.
property_category integer (Required)
Category identifier for the hotel.
primary_language enumerated string (Optional)
Main preferred language spoken at the property.
languages_spoken array of enumerated strings (Optional)
Array of languages spoken at the property.
room_count integer (Required)
Number of sellable units/rooms available at the hotel.
floor_count integer (Optional)
The total number of floors in the building/hotel, excluding the underground floors.
stars string (Optional)
The number of stars, rating of the hotel.
target enumerated string (Required)
Specifies whether it is a test or production-ready property.
provider_property_id string (Optional)
Identifier for the property provider.
currency_code enumerated string (Optional)
The Booking.com defined currency for the property.
physical_address object (Required)
Object containing address details.
city_name string (Required)
City where the hotel is located.
country_code enumerated string (Required)
ISO code for the country (IN for India).
postal_code string (Optional)
Postal code of the hotel's location.
address_line string (Required)
Detailed address of the hotel.
display_address boolean (Optional)
Boolean indicating if the address should be displayed.
translations object
Object for multilingual support. Specifies the non-English translations of the physical address.
city_name string (Required)
Translated city name.
address_line string (Required)
Translated address line.
language_code enumerated string (Required)
Language code for translation.
property_name enumerated string (Required)
Name of the hotel property (translated) on Booking.com.
Sample Request
Response
Sample Success Response
Error
Any errors encountered from the Su side will be contained within an "Error" object.
Sample Error Response (Validation Error Response)
Sample Error Response (Booking.com Error Response)
Response Body Elements
Status string
The status of the response.
Data object
The response data, the root element.
property_id string
Specifies the property ID that was created.
Message string
The message in the response.
Last updated
Was this helpful?