Create / Update Property Settings
This endpoint allows partners to create and update property settings for their accommodations on the Booking.com platform. It provides a comprehensive set of configurable options, including payment policies, guest requirements, and property rules, enabling partners to tailor their offerings effectively to meet their business needs.
Endpoint
POST
Header
app-id
string
Yes
Your application ID. Required for authentication.
Authorization
string
Yes
Your API key for authorization.
Content-Type
string
Yes
Must be set to application/json.
Attributes
hotel_id string (Required)
The unique property ID as assigned by the provider upon creation of the property.
channel_hotel_id string (Required)
The unique id for the hotel on the specific channel.
property_settings object (Optional)
Contains multiple various settings related to the property.
require_cvc boolean (Optional)
Specifies whether the guest needs to provide CVC details for the booking.
view_cc_details boolean (Optional)
Specifies whether a trusted property can view the guest's credit card details on Extranet.
curfew object (Optional)
Contains curfew settings for the property.
enabled boolean (Required)
Specifies whether the property has curfew time enabled.
start boolean (Optional)
Time when curfew starts. Accepts the format: HH:MM.
end string (Optional)
Time when curfew ends. Accepts the format: HH:MM.
require_booker_address boolean (Optional)
Specifies whether the guests must provide a contact address.
require_booker_phone_number boolean (Optional)
Specifies whether the guests must provide a contact telephone number.
age_restriction object (Optional)
Contains whether there is an age limit to check-in.
enabled boolean (Required)
Specify whether age restriction is enabled
min boolean (Optional)
Specifies the minimum allowed age for guests to check-in. Allowed age range: 18-99.
max boolean (Optional)
Specifies the maximum allowed age for guests to check-in. Allowed age range: 18-99.
auto_replenish boolean (Optional)
Specifies if property is enabled to auto-replenish and is used to make a room available to sell again after a cancellation.
replenish_closed_rooms boolean (Optional)
Reopen closed rooms after a cancellation. This will open a closed room after a cancellation is received.
long_stay object (Optional)
Contains whether property accepts a stay longer than 30 nights.
enabled boolean (Required)
Specifies whether the property has a long stay option enabled.
max_length_of_stay integer (Optional)
Specifies the maximum number of days allowed to stay at the property.
pricing_type enum (Optional)
Specifies the property's pricing type.
allow_smoking boolean (Optional)
Specifies whether the property allows smoking.
pets object (Optional)
Contains settings related to pets policy.
pets_allowed enum (Required)
Specifies whether pets are allowed at the property.
pets_price_type enum (Optional)
Specifies pets price type option for the property.
damage_policy object (Optional)
Contains settings related to damage policy.
amount double (Required)
Specifies the amount on which the damage deposit or programme is applicable for.
currency string (Optional)
Specifies the currency in which the claim and limit occurs.
policy_type enum (Required)
Specifies the policy that is applicable.
damage_programme_terms_agreed boolean (Optional)
Specifies if you agree to the terms for the damage programme.
collection_mode enum (Optional)
Specifies how you would collect damage deposit.
collection_when enum (Optional)
Specifies when you would collect the damage deposit.
return_mode enum (Optional)
Specifies how you would return the damage deposit.
return_when enum (Optional)
Specifies when you would return the damage deposit.
standard_phrases array of objects (Optional)
Contains settings related to standard phrases. You can send 1 or multiple standard phrases that you want to enable or remove.
name enum (Required)
Specifies the name of the standard phrase.
enabled boolean (Required)
Specifies if standard phrase should be enabled or removed.
quiet_hours object (Optional)
Contains settings related to quiet hours of the property.
enabled boolean (Required)
Specifies whether the property has quiet hours enabled.
start string (Optional)
Specifies the quiet hours start time.
end string (Optional)
Specifies the quiet hours end time.
renovation object (Optional)
Contains settings related to renovation dates.
enabled boolean (Required)
Specifies whether renovation dates are enabled.
start string (Optional)
Specifies the renovation start date.
end string (Optional)
Specifies the renovation end date.
bed_linen_policy object (Optional)
Contains renting details for bed linens and towels as they are not included in the room rate. Guests can rent them at the property for an additional charge or bring their own.
enabled boolean (Required)
Specifies whether the option to rent bed linen is enabled.
amount double (Optional)
Specifies the cost of renting bed linens and towels specified in the property's default currency.
accepted_payment_types object (Optional)
Contains settings related to payment methods.
codes array of integers (Required)
Specifies the list of supported payment methods. For a full list of payment codes, see Booking.com Payment Type Codes.
french_tax_details object (Optional)
Contains settings related to tax details. Required for specified countries.
category_idstring (Optional)
Contains a number - city tax category ID.
nature_id string (Optional)
Contains a number - nature category ID.
declare_revenue boolean (Required)
Specifies whether the property declares revenues as professional for direct tax purposes.
has_vatboolean (Required)
Specifies whether the property has a registered VAT for this activity.
registered_in_rcs boolean (Required)
Specifies whether the property is registered as a professional at the trade commercial register.
cancellation_exceptions object (Optional)
Contains settings related to cancellation for non-refundable policy.
grace_period object (Optional)
enabled boolean (Optional)
Specifies whether the property has a grace period enabled.
after_booking enum (Required)
Amount of hours after booking when free cancellation is available.
advance_cancellation object (Optional)
enabled boolean (Optional)
Specifies whether the property has an advance cancellation enabled.
before_check_in enum (Required)
Advance cancellation - amount of weeks before check-in when free cancellation is available.
age_buckets array of objects (Optional)
Contains age bucket details.
min_age integer (Required)
Specifies the minimum age for the age bucket.
max_age integer (Required)
Specifies the maximum age for the age bucket.
children_policies object (Optional)
Indicates whether a property accepts children.
allow_children boolean (Optional)
Specifies whether the property admits adults and children, or only adults.
min_age integer (Optional)
Specifies the minimum age of children allowed to stay at the property.
policy_rules array of objects (Optional)
You can specify different price and rules for children.
rule_type enum (Required)
Specifies the rule type for which this rule applies.
from_age integer (Required)
Specifies the minimum age for the children policy to apply.
to_age integer (Required)
Specifies the maximum age for the children policy to apply.
price_type enum (Required)
Specifies if the rule is FREE or has a FIXED price.
price_mode enum (Required)
Specifies the unit of time on which the charge is calculated.
price double (Optional)
Specifies the amount charged in the country's local currency.
booking_model object (Optional)
Indicates that property can have request to book option.
type enum (Required)
Specifies the booking model type of the property.
invoice_settings object (Optional)
Details of the company that owns/manages the property.
legal_name string (Optional)
Legal name of the company.
country_code string (Optional)
Country Code. Should be valid ISO code.
city string (Optional)
City name.
postal_code string (Optional)
Postal/Zip code.
state string (Optional)
State name.
notification_channel enum (Optional)
The channel how company should be notified invoice related mails.
contact_person string (Optional)
Full name of the contact person.
address string (Optional)
Company address.
brazil_tax_details object (Optional)
Indicates additional settings for Brazilian properties.
tax_payer_number_type string (Optional)
Specifies whether the identifying number belongs to a company or a private individual.
tax_payer_number string (Optional)
The identifying number. CNPJ = 14 digits. CPF = 11 digits.
city_hall_id string (Optional)
The 8-digit ID for the city hall which issued the CNPJ or CPF number.
email string (Optional)
Email address of invoice recipient.
Sample Request
Sample Examples for Setting up Policies
1. Age Restriction Policy
2. Auto Replenish Policy
3. Pets Policy
4. Damage Policy
5. Standard Phrases
6. Quiet Hours Policy
7. Renovation Policy
8. Bed Linen Policy
9. Accepted Payment Types Policy
10. French Tax Details Policy
11. Cancellation Exceptions Policy
12. Age Buckets Policy
13. Children Policies
14. Booking Model Policy
15. Invoice Settings
Response
Sample Success Response
Success Response Body Elements
Status string
Indicates the overall status of the request. In this case, "Success" means the operation was completed successfully.
Message string
Provides a brief message about the outcome. Here, it states "Successfully done," confirming that the request was processed without issues.
data object
Contains detailed results of the various settings processed in the request.
property_settings object
Indicates whether the property settings were successfully updated. Here, it is true.
renovation object
Indicates whether the renovation settings were successfully updated. Here, it is true.
standard_phrases object
Indicates whether the standard phrases were successfully updated. Here, it is true.
bed_linen_policy object
Indicates whether the bed linen policy was successfully updated. Here, it is true.
child_policies object
Indicates whether the child policies were successfully updated. Here, it is true.
age_buckets object
Indicates whether the age buckets were successfully updated. Here, it is true.
quiet_hours object
Indicates whether the quiet hours settings were successfully updated. Here, it is true.
booking_model object
Indicates whether the booking model settings were successfully updated. Here, it is true.
cancellation_exceptions object
Indicates whether the cancellation exceptions were successfully updated. Here, it is true.
french_tax_details object
Indicates whether the French tax details were successfully updated. Here, it is true.
damage_policy object
Indicates whether the damage policy settings were successfully updated. Here, it is true.
Indicates the result of the API call.
Errors
Sample Error Response 1
Sample Error Response 2
Sample Error Response 3
Sample Error Response 4
Error Response Body Elements
Status string
Indicates the result of the API call, which will be always "Fail" in case of an error response.
Error array
Array that contains details about any errors that occurred during the API call. Each object in the Errors array contains the following properties:
Code string
Specific error code that helps identify the type of error.
ShortText string
A short description of the error.
Message string
A message providing more information about the error.
Last updated
Was this helpful?