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

https://connect-sandbox.su-api.com/SUAPI/jservice/bdc/property/settings/set
Header
-app-id: YOUR_APP_ID
Authorization: YOUR_API_KEY
Content-Type:application/json
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_id
string (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_vat
boolean (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
{
"hotel_id": "AWSTEST",
"channel_hotel_id": "12837615",
"property_settings": {
"require_cvc": true,
"view_cc_details": true,
"curfew": {
"enabled": true,
"start": "18:00",
"end": "09:00"
},
"require_booker_address": true,
"require_booker_phone_number": true,
"age_restriction": {
"enabled": true,
"min": 18,
"max": 99
},
"auto_replenish": true,
"replenish_closed_rooms": true,
"long_stay": {
"enabled": true,
"max_length_of_stay": 45
},
"pricing_type": "Standard",
"allow_smoking": true
},
"pets": {
"pets_allowed": "PETS_NOT_ALLOWED",
"pets_price_type": "FREE"
},
"damage_policy": {
"amount": 90,
"currency": "INR",
"policy_type": "HANDLED_BY_PROPERTY",
"damage_programme_terms_agreed": true,
"collection_mode": "CASH",
"collection_when": "ON_ARRIVAL",
"return_mode": "CASH",
"return_when": "ON_CHECKOUT"
},
"standard_phrases": [
{
"name": "GuestIdentification",
"enabled": true
}
],
"quiet_hours": {
"enabled": true,
"start": "18:00",
"end": "08:30"
},
"renovation": {
"enabled": true,
"start": "2014-01-01",
"end": "2014-01-10"
},
"bed_linen_policy": {
"enabled": false,
"amount": 100
},
"accepted_payment_types": {
"codes": [
1,
2,
55
]
},
"french_tax_details": {
"category_id": "11",
"nature_id": "1",
"declare_revenue": true,
"has_vat": true,
"registered_in_rcs": true
},
"cancellation_exceptions": {
"grace_period": {
"enabled": true,
"after_booking": "HOURS_4"
},
"advance_cancellation": {
"enabled": true,
"before_check_in": "WEEKS_4"
}
},
"age_buckets": [
{
"min_age": 1,
"max_age": 10
}
],
"children_policies": {
"allow_children": true,
"min_age": 0,
"policy_rules": [
{
"rule_type": "EXISTING_BED",
"from_age": 0,
"to_age": 10,
"price_type": "FIXED",
"price_mode": "PER_STAY",
"price": 0
}
]
},
"booking_model": {
"type": "IB"
},
"invoice_settings": {
"legal_name": "string",
"contact_person": "string",
"address": "string",
"country_code": "US",
"city": "san francisco",
"postal_code": "395001",
"state": "st",
"notification_channel": "POSTAL_MAIL",
"brazil_tax_details": {
"tax_payer_number_type": "CNPJ",
"tax_payer_number": "11",
"city_hall_id": "12345678",
"email": "vishal@gmail.com"
}
}
}
Sample Examples for Setting up Policies
1. Age Restriction Policy
{
"hotel_id": "AWSTEST",
"channel_hotel_id": "12837615",
"property_settings": {
"age_restriction": {
"enabled": true,
"min": 18,
"max": 99
}
}
}
2. Auto Replenish Policy
{
"hotel_id": "AWSTEST",
"channel_hotel_id": "12837615",
"property_settings": {
"auto_replenish": true,
"replenish_closed_rooms": true
}
}
3. Pets Policy
{
"hotel_id": "AWSTEST",
"channel_hotel_id": "12837615",
"pets": {
"pets_allowed": "PETS_NOT_ALLOWED",
"pets_price_type": "FREE"
}
}
4. Damage Policy
{
"hotel_id": "AWSTEST",
"channel_hotel_id": "12837615",
"damage_policy": {
"amount": 90,
"currency": "INR",
"policy_type": "HANDLED_BY_PROPERTY",
"damage_programme_terms_agreed": true,
"collection_mode": "CASH",
"collection_when": "ON_ARRIVAL",
"return_mode": "CASH",
"return_when": "ON_CHECKOUT"
}
}
5. Standard Phrases
{
"hotel_id": "AWSTEST",
"channel_hotel_id": "12837615",
"standard_phrases": [
{
"name": "GuestIdentification",
"enabled": true
}
]
}
6. Quiet Hours Policy
{
"hotel_id": "AWSTEST",
"channel_hotel_id": "12837615",
"quiet_hours": {
"enabled": true,
"start": "18:00",
"end": "08:30"
}
}
7. Renovation Policy
{
"hotel_id": "AWSTEST",
"channel_hotel_id": "12837615",
"renovation": {
"enabled": true,
"start": "2014-01-01",
"end": "2014-01-10"
}
}
8. Bed Linen Policy
{
"hotel_id": "AWSTEST",
"channel_hotel_id": "12837615",
"bed_linen_policy": {
"enabled": false,
"amount": 100
}
}
9. Accepted Payment Types Policy
{
"hotel_id": "AWSTEST",
"channel_hotel_id": "12837615",
"accepted_payment_types": {
"codes": [1, 2, 55]
}
}
10. French Tax Details Policy
{
"hotel_id": "AWSTEST",
"channel_hotel_id": "12837615",
"french_tax_details": {
"category_id": "11",
"nature_id": "1",
"declare_revenue": true,
"has_vat": true,
"registered_in_rcs": true
}
}
11. Cancellation Exceptions Policy
{
"hotel_id": "AWSTEST",
"channel_hotel_id": "12837615",
"cancellation_exceptions": {
"grace_period": {
"enabled": true,
"after_booking": "HOURS_4"
},
"advance_cancellation": {
"enabled": true,
"before_check_in": "WEEKS_4"
}
}
}
12. Age Buckets Policy
{
"hotel_id": "AWSTEST",
"channel_hotel_id": "12837615",
"age_buckets": [
{
"min_age": 1,
"max_age": 10
}
]
}
13. Children Policies
{
"hotel_id": "AWSTEST",
"channel_hotel_id": "12837615",
"children_policies": {
"allow_children": true,
"min_age": 0,
"policy_rules": [
{
"rule_type": "EXISTING_BED",
"from_age": 0,
"to_age": 10,
"price_type": "FIXED",
"price_mode": "PER_STAY",
"price": 0
}
]
}
}
14. Booking Model Policy
{
"hotel_id": "AWSTEST",
"channel_hotel_id": "12837615",
"booking_model": {
"type": "IB"
}
}
15. Invoice Settings
{
"hotel_id": "AWSTEST",
"channel_hotel_id": "12837615",
"invoice_settings": {
"legal_name": "string",
"contact_person": "string",
"address": "string",
"country_code": "US",
"city": "san francisco",
"postal_code": "395001",
"state": "st",
"notification_channel": "POSTAL_MAIL",
"brazil_tax_details": {
"tax_payer_number_type": "CNPJ",
"tax_payer_number": "11",
"city_hall_id": "12345678",
"email": "vishal@gmail.com"
}
}
}
Response
Sample Success Response
{
"Status": "Success",
"Message": "Successfully done",
"Warnings": "",
"Ruid": "e527c45a-f23a-4ee4-beb2-7d21f7699b1b",
"data": {
"property_settings": {
"success": true
},
"renovation": {
"success": true
},
"standard_phrases": {
"success": true
},
"bed_linen_policy": {
"success": true
},
"child_policies": {
"success": true
},
"age_buckets": {
"success": true
},
"quiet_hours": {
"success": true
},
"booking_model": {
"success": true
},
"cancellation_exceptions": {
"success": true
},
"french_tax_details": {
"success": true
},
"damage_policy": {
"success": true
}
}
}
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
{
"Errors": [
{
"Code": "400",
"ShortText": "HotelCode: Invalid HotelCode ('AWSTEST')"
}
],
"Status": "Fail"
}
Sample Error Response 2
{
"Errors": [
{
"Code": "573",
"ShortText": "channel-mapping not found for this property!"
}
],
"Status": "Fail"
}
Sample Error Response 3
{
"Errors": [
{
"Code": "611",
"ShortText": "property_settings - require_cvc is invalid or not found!"
}
],
"Status": "Fail"
}
Sample Error Response 4
{
"Status": "Fail",
"Errors": [],
"Message": "Invalid value: Curfew settings overlap with check-in/check-out",
"Ruid": "909864b8-5509-4a4e-98d2-6a52dfef7466",
"Data": {}
}
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?