Create property
Changed onCreates a property with details such as the name, property category, physical location and check-in and check-out times, and returns the new property ID. In addition to the schema validations:
- The latitude and longitude must be in the country specified in physical_address.country_code.
- The postal code must be correct for the city and the country.
- The property must not duplicate an existing production property. A duplicate is an exact match on the property name, address line, latitude and longitude. Test properties are not searched when checking for duplicates.
Request
- Base URLhttps://supply-xml.booking.com/property-api
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
The API version to use. Currently supports the value 1.0.
Request body
Response
Property created. The response contains the new property ID.
Changes
- breaking
added to the
request propertyallOflist - breaking
the
request property type changed fromobjectto no type - warning
changed the pattern of the request property
from^0(\.0)?|[1-4](\.[05])?|5(\.0)?$to^(0(\.0)?|[1-4](\.[05])?|5(\.0)?)$ - warning
removed the request property
/ - warning
removed the request property
/ - warning
removed the request property
/ - warning
removed the request property
/ - warning
removed the request property
/ - info
added the non-success response with the status
- info
added the success response with the status
- breaking