This resource represents Rentals which are the actual properties that are the subject of most actions in the BookingSync ecosystem.
Name | Type | Read/Write | Description |
---|---|---|---|
account | Integer | Read | Account’s ID related to the Rental |
availability | Integer | Read | Availability’s ID related to the Rental |
change_over | Integer | Read | ChangeOver’s ID related to the Rental |
destination | Integer | Read | Destination’s ID related to the Rental |
payment_gateway | Integer | Read | Payment Gateway’s ID related to the Rental (requires preferences_payments_read scope) |
rates_table | Integer | Read | Rates Table’s ID related to the Rental |
rental_agreement | Integer | Read | Rental Agreement’s ID related to the Rental |
rental_cancelation_policy | Integer | Read | Rental Cancelation Policy’s ID related to the Rental |
nightly_rate_map | Integer | Read | Nightly Rate Map’s ID related to the Rental |
mid_term_rate_map | Integer | Read | Mid Term Rate Map’s ID related to the Rental |
photos | Array | Read | Photos’ IDs related to the Rental |
reviews | Array | Read | Reviews’ IDs related to the Rental |
host_reviews | Array | Read | Host Reviews’ IDs related to the Rental |
special_offers | Array | Read | Special Offers’ IDs related to the Rental |
rates | Array | Read | Rates’ IDs related to the Rental |
rentals_amenities | Array | Read | Rentals Amenities’ IDs related to the Rental |
rentals_fees | Array | Read | Rentals Fees’ IDs related to the Rental |
bathrooms | Array | Read | Bathrooms’ IDs related to the Rental |
bedrooms | Array | Read | Bedrooms’ IDs related to the Rental |
living_rooms | Array | Read | Living Rooms’ IDs related to the Rental |
rentals_tags | Array | Read | Rentals Tags’ IDs related to the Rental |
rental_contacts | Array | Read | Rental Contacts’ IDs related to the Rental |
videos | Array | Read | Videos’ IDs related to the Rental |
id | Integer | Read | Rental’s ID. |
absolute_min_price | Decimal | Read | Rental’s minimum price based on base_rate_kind . |
base_rate | Decimal | Read | Rental’s base rate, used by the rates table to calculate the seasonability and discounted prices. We recommend using the highest price as base rate. |
base_rate_kind | String | Read | Rental’s rate type attached to the base rate. List of types described in enums section. |
balance_due | Integer | Read | Number of day since the booking confirmation to collect the full booking price. |
bathrooms_count | Integer | Read | Rental’s bathrooms count. |
bedrooms_count | Integer | Read | Rental’s bedrooms count. |
bookable_online | Boolean | Read | Rental’s online booking status. |
checkin_type | String | Read | Rental’s checkin type, list of values described in enums section. |
checkin_time | Integer | Read | Rental’s checkin time. |
checkin_end_time | Integer | Read | Rental’s checkin end time. |
checkout_time | Integer | Read | Rental’s checkout time. |
city | String | Read | Rental’s city. |
contact_name | String | Read | Rental’s contact name. |
country_code | String | Read | Rental’s country code, list of codes is available at wikipedia. |
currency | String | Read | Rental’s currency code, list of codes described in enums section. |
damage_deposit | Decimal | Read | Rental’s required damage deposit. |
charge_damage_deposit_on_arrival | Boolean | Read | Rental’s charge damege deposit on arrival status. Can be true or false for Pro subscriptions, only false allowed for Service subscriptions when damage_deposit_collection_method is "smily_damage_deposit_with_swikly" , and only true allowed for Service subsriptions when damage_deposit_collection_method is "with_smily"
|
damage_deposit_collection_method | String | Read | Rental’s damage deposit collection method. List of values described in enums section. |
damage_deposit_external_collection_method_name | String | Read | Damage deposit collection method name (in case damage_deposit_collection_method is "external" ). |
description | Object | Read | Rental’s description, list of locales described in enums section. |
downpayment | Integer | Read | Rental’s default downpayment percentage. If none defined, the default downpayment percentage of the account will be used. |
final_price | Integer | Read | Rental’s final price (after discount). Available only for a search query with valid dates, for other cases please refer to base_rate and base_rate_kind . |
floor | String | Read | Rental’s floor |
headline | Object | Read | Rental’s headline, list of locales described in enums section. |
initial_price | Integer | Read | Rental’s initial price. Available only for a search query with valid dates, for other cases please refer to base_rate and base_rate_kind . |
lat | Float | Read | Rental’s latitude. |
lng | Float | Read | Rental’s longitude. |
max_price | Decimal | Read | Rental’s maximum weekly or nightly price, depending on the base_rate_kind. |
mid_term_pricing_active | Boolean | Read | Enable mid term pricing feature for the rental. |
min_price | Decimal | Read | Rental’s minimum weekly or nightly price, depending on the base_rate_kind. |
name | String | Read | Rental’s name. |
nightly_rates_managed_externally | Boolean | Read | Defines whether nightly_rate_map can be updated via API. Defaults to false . |
permit_issue_date | Time | Read | Rental’s Registration/License/Permit number’s issue date. |
permit_number | String | Read | Rental’s Registration/License/Permit number. |
position | Integer | Read | Rental’s position on the list. |
price_public_notes | Object | Read | Rental’s price notes for public, list of locales described in enums section. |
rental_type | String | Read | Rental’s type (example: villa, apartment), all types described in enums section. |
reviews_average_rating | Decimal | Read | Rental’s overall rating from reviews. |
reviews_count | Integer | Read | Rental’s count of all reviews. |
rounding_kind | String | Read | Rounding kind for initial_price. All the possible values described at enums section |
sleeps | Integer | Read | Rental’s number of comfortable sleeps. |
sleeps_max | Integer | Read | Rental’s maximum number of sleeps. |
state | String | Read | Rental’s state. |
stories_count | Integer | Read | Rental’s number of stories. |
summary | Object | Read | Rental’s summary, list of locales described in enums section. |
surface | Integer | Read | Rental’s surface area. |
surface_unit | String | Read | Rental’s surface area unit, either metric or imperial. |
website_url | Object | Read | Rental’s primary website url, list of locales described in enums section. |
residency_category | String | Read | Rental’s residency category. All types are described in enums section |
certifications | Object | Read | Rental’s certifications, all allowed values described in enums section. |
management_type | String | Read | Rental’s management type. All types are described in enums section |
bookable_on_request | Boolean | Read | Rental’s Bookable on request status (requires Rental to be published and Account needs a configuration for contract management) |
instantly_bookable | Boolean | Read | Rental’s instantly bookable status (requires Rental to be bookable on request, bookable_online to be set to true and Rental needs to have a Payment Gateway configured) |
full_bathrooms_count | Integer | Read | Rental’s full bathrooms count |
standalone_toilets_count | Integer | Read | Rental’s standalone toilets count |
vr_bathrooms_count | Float/Integer | Read | Rental’s VR bathrooms count (Float is possible only if there are standalone Bathrooms as the value equal to: bathrooms_count - standalone_toilets_count + 0.5 will be returned, otherwise bathrooms_count will be returned as an Integer) |
absolute_min_stay | Integer | Read | Rental’s absolute minimum stay |
public_notes | String | Read | Rental’s public notes |
refund_damage_deposit_after | Integer | Read | Rental’s refund damage deposit after value (in days) |
created_at | Time | Read | Rental’s create time. |
updated_at | Time | Read | Rental’s update time. |
published_at | Time | Read | Rental’s publish time. |
Name | Type | Read/Write | Description |
---|---|---|---|
account | Integer | Read | Account’s ID related to the Rental |
availability | Integer | Read | Availability’s ID related to the Rental |
change_over | Integer | Read | ChangeOver’s ID related to the Rental |
destination | Integer | Read | Destination’s ID related to the Rental |
payment_gateway | Integer | Read | Payment Gateway’s ID related to the Rental (requires preferences_payments_read scope) |
rates_table | Integer | Read | Rates Table’s ID related to the Rental |
rental_agreement | Integer | Read | Rental Agreement’s ID related to the Rental |
rental_cancelation_policy | Integer | Read | Rental Cancelation Policy’s ID related to the Rental |
nightly_rate_map | Integer | Read | Nightly Rate Map’s ID related to the Rental |
mid_term_rate_map | Integer | Read | Mid Term Rate Map’s ID related to the Rental |
photos | Array | Read | Photos’ IDs related to the Rental |
reviews | Array | Read | Reviews’ IDs related to the Rental |
host_reviews | Array | Read | Host Reviews’ IDs related to the Rental |
special_offers | Array | Read | Special Offers’ IDs related to the Rental |
rates | Array | Read | Rates’ IDs related to the Rental |
rentals_amenities | Array | Read | Rentals Amenities’ IDs related to the Rental |
rentals_fees | Array | Read | Rentals Fees’ IDs related to the Rental |
bathrooms | Array | Read | Bathrooms’ IDs related to the Rental |
bedrooms | Array | Read | Bedrooms’ IDs related to the Rental |
living_rooms | Array | Read | Living Rooms’ IDs related to the Rental |
rentals_tags | Array | Read | Rentals Tags’ IDs related to the Rental |
rental_contacts | Array | Read | Rental Contacts’ IDs related to the Rental |
videos | Array | Read | Videos’ IDs related to the Rental |
id | Integer | Read | Rental’s ID. |
absolute_min_price | Decimal | Read | Rental’s minimum price based on base_rate_kind . |
address1 | String | Read | Rental’s primary address. |
address2 | String | Read | Rental’s optional address. |
base_rate | Decimal | Read | Rental’s base rate, used by the rates table to calculate the seasonability and discounted prices. |
base_rate_kind | String | Read | Rental’s rate type attached to the base rate. List of types described in enums section. |
balance_due | Integer | Read | Number of day since the booking confirmation to collect the full booking price. |
bathrooms_count | Integer | Read | Rental’s bathrooms count. |
bedrooms_count | Integer | Read | Rental’s bedrooms count. |
bookable_online | Boolean | Read | Rental’s online booking status. |
checkin_details | Object | Read | Rental’s check-in details, list of locales described in enums section. |
checkin_type | String | Read | Rental’s checkin type, list of values described in enums section. |
checkin_time | Integer | Read | Rental’s checkin time. |
checkin_end_time | Integer | Read | Rental’s checkin end time. |
checkout_details | Object | Read | Rental’s check-out details, list of locales described in enums section. |
checkout_time | Integer | Read | Rental’s checkout time. |
city | String | Read | Rental’s city. |
contact_name | String | Read | Rental’s contact name. |
country_code | String | Read | Rental’s country code, list of codes is available at wikipedia. |
currency | String | Read | Rental’s currency code, list of codes described in enums section. |
damage_deposit | Decimal | Read | Rental’s required damage deposit. |
charge_damage_deposit_on_arrival | Boolean | Read | Rental’s charge damege deposit on arrival status. Can be true or false for Pro subscriptions, only false allowed for Service subscriptions when damage_deposit_collection_method is "smily_damage_deposit_with_swikly" , and only true allowed for Service subsriptions when damage_deposit_collection_method is "with_smily"
|
damage_deposit_collection_method | String | Read | Rental’s damage deposit collection method. List of options described in enums section. |
damage_deposit_external_collection_method_name | String | Read | Damage deposit collection method name (in case damage_deposit_collection_method is "external" ). |
description | Object | Read | Rental’s description, list of locales described in enums section. |
downpayment | Integer | Read | Rental’s default downpayment percentage. If none defined, the default downpayment percentage of the account will be used. |
final_price | Integer | Read | Rental’s final price (after discount). Available only for a search query with valid dates, for other cases please refer to base_rate and base_rate_kind . |
floor | String | Read | Rental’s floor |
headline | Object | Read | Rental’s headline, list of locales described in enums section. |
initial_price | Integer | Read | Rental’s initial price. Available only for a search query with valid dates, for other cases please refer to base_rate and base_rate_kind . |
lat | Float | Read | Rental’s latitude. |
lng | Float | Read | Rental’s longitude. |
max_price | Decimal | Read | Rental’s maximum price. |
mid_term_pricing_active | Boolean | Read | Enable mid term pricing feature for the rental. |
min_price | Decimal | Read | Rental’s minimum price. |
name | String | Read | Rental’s name. |
nightly_rates_managed_externally | Boolean | Read | Defines whether nightly_rate_map can be updated via API. Defaults to false . |
notes | Text | Read | Rental’s private notes. |
permit_issue_date | Time | Read | Rental’s Registration/License/Permit number’s issue date. |
permit_number | String | Read | Rental’s Registration/License/Permit number. |
position | Integer | Read | Rental’s position on the list. |
price_public_notes | Object | Read | Rental’s price notes for public, list of locales described in enums section. |
rental_type | String | Read | Rental’s type (example: villa, apartment), all types described in enums section. |
reviews_average_rating | Decimal | Read | Rental’s overall rating from reviews. |
reviews_count | Integer | Read | Rental’s count of all reviews. |
rounding_kind | String | Read | Rounding kind for initial_price. All the possible values described at enums section |
sleeps | Integer | Read | Rental’s number of comfortable sleeps. |
sleeps_max | Integer | Read | Rental’s maximum number of sleeps. |
state | String | Read | Rental’s state. |
stories_count | Integer | Read | Rental’s number of stories. |
summary | Object | Read | Rental’s summary, list of locales described in enums section. |
surface | Integer | Read | Rental’s surface area. |
surface_unit | String | Read | Rental’s surface area unit, either metric or imperial. |
website_url | Object | Read | Rental’s primary website url, list of locales described in enums section. |
zip | String | Read | Rental’s zip code. |
residency_category | String | Read | Rental’s residency category. All types are described in enums section |
certifications | Object | Read | Rental’s certifications, all allowed values described in enums section. |
management_type | String | Read | Rental’s management type. All types are described in enums section |
bookable_on_request | Boolean | Read | Rental’s Bookable on request status (requires Rental to be published and Account needs a configuration for contract management) |
instantly_bookable | Boolean | Read | Rental’s instantly bookable status (requires Rental to be bookable on request, bookable_online to be set to true and Rental needs to have a Payment Gateway configured) |
owner_fullname | String | Read | Rental owner’s fullname |
owner_email | String | Read | Rental owner’s email |
owner_notes | String | Read | Rental owner’s notes |
full_bathrooms_count | Integer | Read | Rental’s full bathrooms count |
standalone_toilets_count | Integer | Read | Rental’s standalone toilets count |
vr_bathrooms_count | Float/Integer | Read | Rental’s VR bathrooms count (Float is possible only if there are standalone Bathrooms as the value equal to: bathrooms_count - standalone_toilets_count + 0.5 will be returned, otherwise bathrooms_count will be returned as an Integer) |
absolute_min_stay | Integer | Read | Rental’s absolute minimum stay |
public_notes | String | Read | Rental’s public notes |
refund_damage_deposit_after | Integer | Read | Rental’s refund damage deposit after value (in days) |
created_at | Time | Read | Rental’s create time. |
updated_at | Time | Read | Rental’s update time. |
published_at | Time | Read | Rental’s publish time. |
Name | Type | Read/Write | Description | |
---|---|---|---|---|
account | Integer | Read | Account’s ID related to the Rental | |
availability | Integer | Read | Availability’s ID related to the Rental | |
change_over | Integer | Read | ChangeOver’s ID related to the Rental | |
destination | Integer | Read | Destination’s ID related to the Rental | |
payment_gateway | Integer | Read | Payment Gateway’s ID related to the Rental (requires preferences_payments_read scope) |
|
rates_table | Integer | Read | Rates Table’s ID related to the Rental | |
rental_agreement | Integer | Read | Rental Agreement’s ID related to the Rental | |
rental_cancelation_policy | Integer | Read | Rental Cancelation Policy’s ID related to the Rental | |
nightly_rate_map | Integer | Read | Nightly Rate Map’s ID related to the Rental | |
mid_term_rate_map | Integer | Read | Mid Term Rate Map’s ID related to the Rental | |
photos | Array | Read | Photos’ IDs related to the Rental | |
reviews | Array | Read | Reviews’ IDs related to the Rental | |
host_reviews | Array | Read | Host Reviews’ IDs related to the Rental | |
special_offers | Array | Read | Special Offers’ IDs related to the Rental | |
rates | Array | Read | Rates’ IDs related to the Rental | |
rentals_amenities | Array | Read | Rentals Amenities’ IDs related to the Rental | |
rentals_fees | Array | Read | Rentals Fees’ IDs related to the Rental | |
bathrooms | Array | Read | Bathrooms’ IDs related to the Rental | |
bedrooms | Array | Read | Bedrooms’ IDs related to the Rental | |
living_rooms | Array | Read | Living Rooms’ IDs related to the Rental | |
rentals_tags | Array | Read | Rentals Tags’ IDs related to the Rental | |
rental_contacts | Array | Read | Rental Contacts’ IDs related to the Rental | |
videos | Array | Read | Videos’ IDs related to the Rental | |
id | Integer | Read | Rental’s ID. | |
amenity_ids | Array | Write | Amenity ids related to the rental. | |
destination_id | Integer | Write | Destination id related to the rental. | |
payment_gateway_id | Integer | Write | PaymentGateway id related to the rental. | |
rates_table_id | Integer | Write | Rates Table id related to the rental. | |
rentals_contact_id | Integer | Write | Contact id related to the rental. | |
rentals_tag_ids | Array | Write | Tag ids related to the rental. | |
absolute_min_price | Decimal | Read/Write | Rental’s minimum price based on base_rate_kind . |
Must be greater than or equal to 0 and less than or equal to base_rate
|
address1 | String | Read/Write | Rental’s primary address. | |
address2 | String | Read/Write | Rental’s optional address. | |
base_rate | Decimal | Read/Write | Rental’s base rate, used by the rates table to calculate the seasonability and discounted prices. We recommend using the highest price as base rate | Must be greater than 0 if present |
base_rate_kind | String | Read/Write | Rental’s rate type attached to the base rate. List of types described in enums section. | Must be a valid base rate kind if present |
balance_due | Integer | Read/Write | Number of day since the booking confirmation to collect the full booking price. | |
bathrooms_count | Integer | Read/Write | Rental’s bathrooms count. | must be between 0 and 100 if present |
bedrooms_count | Integer | Read/Write | Rental’s bedrooms count. | must be between 0 and 100 if present |
bookable_online | Boolean | Read/Write | Rental’s online booking status. | |
checkin_details | Object | Read/Write | Rental’s check-in details, list of locales described in enums section. | |
checkin_type | String | Read/Write | Rental’s checkin type, list of values described in enums section. | |
checkin_time | Integer | Read/Write | Rental’s checkin time. | |
checkin_end_time | Integer | Read/Write | Rental’s checkin end time. | |
checkout_details | Object | Read/Write | Rental’s check-out details, list of locales described in enums section. | |
checkout_time | Integer | Read/Write | Rental’s checkout time. | |
city | String | Read/Write | Rental’s city. | |
contact_name | String | Read | Rental’s contact name. | |
country_code | String | Read/Write | Rental’s country code, list of codes is available at wikipedia. |
Required if address1 is present |
currency | String | Read/Write | Rental’s currency code, list of codes described in enums section. | Must be a valid currency if present |
damage_deposit | Decimal | Read/Write | Rental’s required damage deposit. | Must be greater than or equal to 0 if present |
description | Object | Read/Write | Rental’s description, list of locales described in enums section. | Maximum length: 5000 |
downpayment | Integer | Read/Write | Rental’s default downpayment percentage. If none defined, the default downpayment percentage of the account will be used. | Integer only, must be between 0 and 100 |
final_price | Integer | Read | Rental’s final price (after discount). Available only for a search query with valid dates, for other cases please refer to base_rate and base_rate_kind . |
|
floor | String | Read/Write | Rental’s floor | |
headline | Object | Read/Write | Rental’s headline, list of locales described in enums section. | Maximum length: 75 |
initial_price | Integer | Read | Rental’s initial price. Available only for a search query with valid dates, for other cases please refer to base_rate and base_rate_kind . |
|
lat | Float | Read/Write | Rental’s latitude | must be between -90 and 90 if present |
lng | Float | Read/Write | Rental’s longitude. | must be between -180 and 180 |
max_price | Decimal | Read | Rental’s maximum price. | |
mid_term_pricing_active | Boolean | Read/Write | Enable mid term pricing feature for the rental. | |
min_price | Decimal | Read | Rental’s minimum price. | |
name | String | Read/Write | Rental’s name. | Required, Minimum length: 3, Maximum length: 40 |
nightly_rates_managed_externally | Boolean | Read/Write | Defines whether nightly_rate_map can be updated via API. Defaults to false . |
|
notes | Text | Read/Write | Rental’s private notes | Maximum length: 1000 |
permit_issue_date | Time | Read/Write | Rental’s Registration/License/Permit number’s issue date. | |
permit_number | String | Read/Write | Rental’s Registration/License/Permit number. | |
position | Integer | Read/Write | Rental’s position on the list. | |
price_public_notes | Object | Read | Rental’s price notes for public, list of locales described in enums section. Write is possible through RatesTables. | |
rental_type | String | Read/Write | Rental’s type (example: villa, apartment), all types described in enums section. | Must be a valid rental type if present |
reviews_average_rating | Decimal | Read | Rental’s overall rating from reviews. | |
reviews_count | Integer | Read | Rental’s count of all reviews. | |
rounding_kind | String | Read/Write | Rounding kind for initial_price. All the possible values described at enums section | Must be a valid rounding kind if present |
sleeps | Integer | Read/Write | Rental’s number of comfortable sleeps. | must be between 0 and 100 if present |
sleeps_max | Integer | Read/Write | Rental’s maximum number of sleeps. | must be between 0 and 100 if present |
state | String | Read/Write | Rental’s state. | |
stories_count | Integer | Read/Write | Rental’s number of stories. | Must be between 0 and 100 if present |
summary | Object | Read | Rental’s summary, list of locales described in enums section. | Maximum length: 400 |
surface | Integer | Read/Write | Rental’s surface area. | Integer only, must greater than 0 if present |
surface_unit | String | Read/Write | Rental’s surface area unit. | Must be either metric or imperial, required if surface is present |
website_url | Object | Read/Write | Rental’s primary website url, list of locales described in enums section. | Must be a valid URL if present |
zip | String | Read/Write | Rental’s zip code. | |
residency_category | String | Read/Write | Rental’s residency category. All types are described in enums section | Must be a valid residency category if present, only “non_residential” residency category is allowed for “private-room” rental type |
certifications | Object | Read/Write | Rental’s certifications, all allowed values described in enums section. | Must contain valid certifications if present |
management_type | String | Read/Write | Rental’s management type. All types are described in enums section | Must be a valid management type if present |
bookable_on_request | Boolean | Read | Rental’s Bookable on request status (requires Rental to be published and Account needs a configuration for contract management) | |
instantly_bookable | Boolean | Read | Rental’s instantly bookable status (requires Rental to be bookable on request, bookable_online to be set to true and Rental needs to have a Payment Gateway configured) |
|
owner_fullname | String | Read/Write | Rental owner’s fullname | Maximum length: 100 |
owner_email | String | Read/Write | Rental owner’s email | Must be a valid email format if present |
owner_notes | String | Read/Write | Rental owner’s notes | Maximum length: 2000 |
charge_damage_deposit_on_arrival | Boolean | Read | Rental’s charge damege deposit in arrival status. Can be true or false for Pro subscriptions, only false allowed for Service subscriptions when damage_deposit_collection_method is "smily_damage_deposit_with_swikly" , and only true allowed for Service subsriptions when damage_deposit_collection_method is "with_smily"
|
|
full_bathrooms_count | Integer | Read | Rental’s full bathrooms count | |
standalone_toilets_count | Integer | Read | Rental’s standalone toilets count | |
vr_bathrooms_count | Float/Integer | Read | Rental’s VR bathrooms count (Float is possible only if there are standalone Bathrooms as the value equal to: bathrooms_count - standalone_toilets_count + 0.5 will be returned, otherwise bathrooms_count will be returned as an Integer) |
|
absolute_min_stay | Integer | Read | Rental’s absolute minimum stay | |
public_notes | String | Read | Rental’s public notes | |
refund_damage_deposit_after | Integer | Read | Rental’s refund damage deposit after value (in days) | |
created_at | Time | Read | Rental’s create time. | |
updated_at | Time | Read | Rental’s update time. | |
published_at | Time | Read | Rental’s publish time. |
List all rentals for a given account(s).
GET /rentals
{
"links": {
"rentals.account": "https://www.bookingsync.com/api/v3/accounts/{rentals.account}",
"rentals.availability": "https://www.bookingsync.com/api/v3/availabilities/{rentals.availability}",
"rentals.bathrooms": "https://www.bookingsync.com/api/v3/bathrooms/{rentals.bathrooms}",
"rentals.bedrooms": "https://www.bookingsync.com/api/v3/bedrooms/{rentals.bedrooms}",
"rentals.change_over": "https://www.bookingsync.com/api/v3/change_overs/{rentals.change_over}",
"rentals.destination": "https://www.bookingsync.com/api/v3/destinations/{rentals.destination}",
"rentals.nightly_rate_map": "https://www.bookingsync.com/api/v3/nightly_rate_maps/{rentals.nightly_rate_map}",
"rentals.photos": "https://www.bookingsync.com/api/v3/photos/{rentals.photos}",
"rentals.rates": "https://www.bookingsync.com/api/v3/rates/{rentals.rates}",
"rentals.rates_table": "https://www.bookingsync.com/api/v3/rates_tables/{rentals.rates_table}",
"rentals.rental_agreement": "https://www.bookingsync.com/api/v3/rental_agreements/{rentals.rental_agreement}",
"rentals.rental_cancelation_policy": "https://www.bookingsync.com/api/v3/rental_cancelation_policies/{rentals.rental_cancelation_policy}",
"rentals.rentals_amenities": "https://www.bookingsync.com/api/v3/rentals_amenities/{rentals.rentals_amenities}",
"rentals.rentals_fees": "https://www.bookingsync.com/api/v3/rentals_fees/{rentals.rentals_fees}",
"rentals.rentals_tags": "https://www.bookingsync.com/api/v3/rentals_tags/{rentals.rentals_tags}",
"rentals.reviews": "https://www.bookingsync.com/api/v3/reviews/{rentals.reviews}",
"rentals.special_offers": "https://www.bookingsync.com/api/v3/special_offers/{rentals.special_offers}"
},
"rentals": [
{
"id": 1,
"absolute_min_price": "300.0",
"base_rate": "600.0",
"base_rate_kind": "weekly",
"bathrooms_count": 3,
"bedrooms_count": 4,
"bookable_online": false,
"certifications": {
"meubles_de_tourisme": [
"1_etoile",
"2_etoiles",
"3_etoiles",
"4_etoiles"
]
},
"checkin_time": 16,
"checkout_time": 10,
"city": "Nevache",
"contact_name": "Betty Reichert",
"country_code": "FR",
"currency": "EUR",
"description": {
"en": "First class Villa for 8 people with private pool. Situated in a pleasant residential area."
},
"downpayment": 30,
"final_price": null,
"floor": "A",
"headline": {
"en": "Villa in Nevache, France"
},
"initial_price": null,
"lat": 45.02,
"lng": 6.6,
"management_type": "professional",
"max_price": "600.0",
"mid_term_pricing_active": false,
"min_price": "420.0",
"name": "Cottage 1",
"nightly_rates_managed_externally": false,
"permit_number": "AQD9382857",
"position": 1,
"price_public_notes": {
"en": null
},
"rental_type": "villa",
"residency_category": "primary_residence",
"reviews_average_rating": "4.0",
"reviews_count": 5,
"sleeps": 8,
"sleeps_max": 9,
"state": null,
"stories_count": 2,
"summary": {
"en": "Great value. A place to enjoy peace and tranquility, away from mass tourism."
},
"surface": 120,
"surface_unit": "metric",
"website_url": {
"en": "https://example.com/en/rentals/123-rental-headline"
},
"created_at": "2023-12-11T08:26:28Z",
"updated_at": "2023-12-11T08:26:28Z",
"published_at": "2023-12-11T08:26:28Z",
"links": {
"account": 1,
"availability": 1,
"bathrooms": [
5,
6,
7
],
"bedrooms": [
8,
9,
10,
11
],
"change_over": 1,
"destination": 134,
"nightly_rate_map": 1,
"photos": [
1
],
"rates": [
1
],
"rates_table": 1,
"rental_agreement": 1,
"rental_cancelation_policy": 1,
"rentals_amenities": [
1,
2,
3
],
"rentals_fees": [
],
"rentals_tags": [
],
"reviews": [
1,
2,
3,
4,
5
],
"special_offers": [
1
]
}
}
],
"meta": {
}
}
{
"links": {
"rentals.account": "https://www.bookingsync.com/api/v3/accounts/{rentals.account}",
"rentals.availability": "https://www.bookingsync.com/api/v3/availabilities/{rentals.availability}",
"rentals.bathrooms": "https://www.bookingsync.com/api/v3/bathrooms/{rentals.bathrooms}",
"rentals.bedrooms": "https://www.bookingsync.com/api/v3/bedrooms/{rentals.bedrooms}",
"rentals.change_over": "https://www.bookingsync.com/api/v3/change_overs/{rentals.change_over}",
"rentals.destination": "https://www.bookingsync.com/api/v3/destinations/{rentals.destination}",
"rentals.nightly_rate_map": "https://www.bookingsync.com/api/v3/nightly_rate_maps/{rentals.nightly_rate_map}",
"rentals.photos": "https://www.bookingsync.com/api/v3/photos/{rentals.photos}",
"rentals.rates": "https://www.bookingsync.com/api/v3/rates/{rentals.rates}",
"rentals.rates_table": "https://www.bookingsync.com/api/v3/rates_tables/{rentals.rates_table}",
"rentals.rental_agreement": "https://www.bookingsync.com/api/v3/rental_agreements/{rentals.rental_agreement}",
"rentals.rental_cancelation_policy": "https://www.bookingsync.com/api/v3/rental_cancelation_policies/{rentals.rental_cancelation_policy}",
"rentals.rentals_amenities": "https://www.bookingsync.com/api/v3/rentals_amenities/{rentals.rentals_amenities}",
"rentals.rentals_fees": "https://www.bookingsync.com/api/v3/rentals_fees/{rentals.rentals_fees}",
"rentals.rentals_tags": "https://www.bookingsync.com/api/v3/rentals_tags/{rentals.rentals_tags}",
"rentals.reviews": "https://www.bookingsync.com/api/v3/reviews/{rentals.reviews}",
"rentals.special_offers": "https://www.bookingsync.com/api/v3/special_offers/{rentals.special_offers}"
},
"rentals": [
{
"id": 2,
"absolute_min_price": "300.0",
"address1": "58 Ville Haute",
"address2": null,
"base_rate": "700.0",
"base_rate_kind": "weekly",
"bathrooms_count": 3,
"bedrooms_count": 5,
"bookable_online": false,
"certifications": {
"meubles_de_tourisme": [
"1_etoile",
"2_etoiles",
"3_etoiles",
"4_etoiles"
]
},
"checkin_details": {
"en": "Please call us 15 min before your arrival so we can welcome you at the villa."
},
"checkin_time": 16,
"checkout_details": {
"en": "Please confirm us your departure time the day before so we can wish you a good travel back in person."
},
"checkout_time": 10,
"city": "Nevache",
"contact_name": "Betty Reichert",
"country_code": "FR",
"currency": "EUR",
"description": {
"en": "First class Villa for 9 people with private pool. Situated in a pleasant residential area."
},
"downpayment": 30,
"final_price": null,
"floor": "A",
"headline": {
"en": "Villa in Nevache, France"
},
"initial_price": null,
"lat": 45.02,
"lng": 6.6,
"management_type": "professional",
"max_price": "700.0",
"mid_term_pricing_active": false,
"min_price": "490.0",
"name": "Cottage 2",
"nightly_rates_managed_externally": false,
"notes": "Private comments.",
"position": 1,
"price_public_notes": {
"en": null
},
"rental_type": "villa",
"residency_category": "primary_residence",
"reviews_average_rating": "4.5",
"reviews_count": 1,
"sleeps": 9,
"sleeps_max": 10,
"state": null,
"stories_count": 2,
"summary": {
"en": "Great value. A place to enjoy peace and tranquility, away from mass tourism."
},
"surface": 120,
"surface_unit": "metric",
"website_url": {
"en": "https://example.com/en/rentals/123-rental-headline"
},
"zip": "05100",
"created_at": "2023-12-11T08:26:28Z",
"updated_at": "2023-12-11T08:26:28Z",
"published_at": "2023-12-11T08:26:28Z",
"links": {
"account": 1,
"availability": 2,
"bathrooms": [
5,
6,
7
],
"bedrooms": [
8,
9,
10,
11,
12
],
"change_over": 1,
"destination": 135,
"nightly_rate_map": 1,
"photos": [
2
],
"rates": [
3
],
"rates_table": 1,
"rental_agreement": 1,
"rental_cancelation_policy": 1,
"rentals_amenities": [
4
],
"rentals_fees": [
],
"rentals_tags": [
],
"reviews": [
2
],
"special_offers": [
3
]
}
}
],
"meta": {
}
}
Search parameters allow to filter rentals by specified fields.
Example:
GET /rentals/search?start_at=20140324&end_at=20140330
Name | Type | Default | Description |
---|---|---|---|
amenities | String | List of comma separated amenities to include. | |
adults | Integer | Number of adults to take into account when calculating final_price . |
|
bb_ne | Float | Rentals located between bb_sw & bb_ne . Format latitude, longitude . |
|
bb_sw | Float | Rentals located between bb_sw & bb_ne . Format latitude, longitude . |
|
bedrooms_count | Integer | Rentals with amount of bedrooms equal to or above given number. | |
bookable_online | Boolean | blank |
true to get rentals that are allowed to be bookable online (requiring no human interaction), false to get those that are not. |
instantly_bookable | Boolean |
true to get rentals that are instantly bookable (with payment confirming the booking) |
|
children | Integer | Number of children to take into account when calculating final_price . |
|
city | String | Rentals matching given city. | |
country_code | String | Rentals matching given country code, list of codes is available at wikipedia. | |
destination | String | List of comma separated destinations. | |
direction | String | Direction to sort rentals, either asc or desc . |
|
exchange_to_currency | String | Convert amounts to the currency of your choice (ex: EUR , USD , …) |
|
guests | Integer | Used to filter out rentals with maximum number of sleeps below given number of guests. | |
id | String | List of comma separated rental ids. | |
include_not_available | Boolean | false | Include not available rentals in the response. |
include_tentative | Boolean | false | Treat tentative periods as available ones. |
max_price | Integer | Rentals with max_price below given price. Will use final_price if computed. |
|
min_price | Integer | Rentals with min_price above given price. Will use final_price if computed. |
|
page | Integer | Used to browse multi-paged listings. | |
per_page | Integer | Limit amount of returned rentals to given number. Full list can then be browsed with page parameter. |
|
published_only | Boolean | false | Show only published rentals. |
reject_amenities | String | List of comma separated amenities to exclude. | |
rental_id | String | List of comma separated rental ids. (if you want to limit the search to some specific ones that you know in advance) | |
rental_type | String | List of comma separated types, all types described in enums section. | |
rentals_tags | String | List of comma separated rentals tags. | |
sort | String | Sort rentals by given attribute. Possible values: price , sleeps , sleeps_max , bedrooms_count
|
|
special_offers | Boolean | false | Show only rentals with special offers. |
full_bathrooms_count | Integer | Rentals with amount of full bathrooms equal to or above given number. | |
included_amenities | Array | Rentals containing Amenities identified by the provided IDs | |
excluded_amenities | Array | Rentals not containing Amenities identified by the provided IDs | |
start_at | Time | Rentals available between start_at & end_at . |
|
end_at | Time | Rentals available between start_at & end_at . |
{
"rentals": [
{
"id": 1,
"currency": "EUR",
"damage_deposit": 35.5,
"final_price": 858.33,
"initial_price": 700.0,
"price_details": {
"taxes": [
{
"name": {
"en": "VAT"
},
"percentage": "10.0",
"amount": "58.33",
"taxable_type": "Rental",
"taxable_id": 2,
"tax_id": 1,
"included": false
}
],
"fees": [
{
"name": {
"en": "some fee"
},
"required": true,
"price": "100.0",
"quantity": 1,
"id": 10,
"rentals_fee_id": 12
}
]
},
"price_to_pay_now": 858.33,
"taxes": [
{
"name": {
"en": "VAT"
},
"percentage": "10.0",
"amount": "58.33"
}
],
"updated_at": "2014-01-21T11:46:15Z",
"links": {
"rentals_fees": "http://www.bookingsync.com/api/v3/rentals_fees/{rentals.rentals_fees}"
}
}
]
}
Group | Subgroup | Name | Type | Description |
---|---|---|---|---|
damage_deposit | Float | Rental’s required damage deposit. | ||
final_price | Float | Rental’s price with fees and taxes. | ||
initial_price | Float | Rental’s price. | ||
price_to_pay_now | Float | Part of the price to pay at this moment if the rental was to be booked now. | ||
price_to_pay_now_with_damage_deposit | Float | Part of the price to pay at this moment if the rental was to be booked now including damage deposit (if chargeable during the booking). | ||
price_details | Hash | Fees and taxes breakdown contributing to the final price. | ||
taxes | Array | Detailed breakdown of Taxes with reference to the item which was taxed by the Tax (Fee or Rental) and own ID. | ||
name | String | Tax’s name. | ||
percentage | String | Tax’s percentage. | ||
amount | String | Tax’s amount. | ||
taxable_type | String | Taxed item type (Fee or Rental) | ||
taxable_id | Integer | Fee or Rental ID | ||
tax_id | Integer | Tax’s ID | ||
included | Boolean | True/False status if this tax is already included in taxable’s (Fee or Rental) price or not | ||
fees | Array | Details of the bookings fees required to be booked with the rental. | ||
name | String | Fee’s name. | ||
required | Boolean | True/False status for always required. | ||
price | String | Fee’s price. | ||
quantity | String | Fee’s quantity. | ||
id | Integer | Fee’s ID | ||
rentals_fee_id | Integer | Rentals Fee’s ID | ||
taxes | Array | Grouped taxes by their identity with summed amounts. | ||
name | String | Tax’s name. | ||
percentage | String | Tax’s percentage. | ||
amount | String | Tax’s amount. |
Returns a single rental identified by ID.
GET /rentals/:rental_id
{
"links": {
"rentals.account": "https://www.bookingsync.com/api/v3/accounts/{rentals.account}",
"rentals.availability": "https://www.bookingsync.com/api/v3/availabilities/{rentals.availability}",
"rentals.bathrooms": "https://www.bookingsync.com/api/v3/bathrooms/{rentals.bathrooms}",
"rentals.bedrooms": "https://www.bookingsync.com/api/v3/bedrooms/{rentals.bedrooms}",
"rentals.change_over": "https://www.bookingsync.com/api/v3/change_overs/{rentals.change_over}",
"rentals.destination": "https://www.bookingsync.com/api/v3/destinations/{rentals.destination}",
"rentals.nightly_rate_map": "https://www.bookingsync.com/api/v3/nightly_rate_maps/{rentals.nightly_rate_map}",
"rentals.photos": "https://www.bookingsync.com/api/v3/photos/{rentals.photos}",
"rentals.rates": "https://www.bookingsync.com/api/v3/rates/{rentals.rates}",
"rentals.rates_table": "https://www.bookingsync.com/api/v3/rates_tables/{rentals.rates_table}",
"rentals.rental_agreement": "https://www.bookingsync.com/api/v3/rental_agreements/{rentals.rental_agreement}",
"rentals.rental_cancelation_policy": "https://www.bookingsync.com/api/v3/rental_cancelation_policies/{rentals.rental_cancelation_policy}",
"rentals.rentals_amenities": "https://www.bookingsync.com/api/v3/rentals_amenities/{rentals.rentals_amenities}",
"rentals.rentals_fees": "https://www.bookingsync.com/api/v3/rentals_fees/{rentals.rentals_fees}",
"rentals.rentals_tags": "https://www.bookingsync.com/api/v3/rentals_tags/{rentals.rentals_tags}",
"rentals.reviews": "https://www.bookingsync.com/api/v3/reviews/{rentals.reviews}",
"rentals.special_offers": "https://www.bookingsync.com/api/v3/special_offers/{rentals.special_offers}"
},
"rentals": [
{
"id": 1,
"absolute_min_price": "300.0",
"base_rate": "600.0",
"base_rate_kind": "weekly",
"bathrooms_count": 3,
"bedrooms_count": 4,
"bookable_online": false,
"certifications": {
"meubles_de_tourisme": [
"1_etoile",
"2_etoiles",
"3_etoiles",
"4_etoiles"
]
},
"checkin_time": 16,
"checkout_time": 10,
"city": "Nevache",
"contact_name": "Betty Reichert",
"country_code": "FR",
"currency": "EUR",
"description": {
"en": "First class Villa for 8 people with private pool. Situated in a pleasant residential area."
},
"downpayment": 30,
"final_price": null,
"floor": "A",
"headline": {
"en": "Villa in Nevache, France"
},
"initial_price": null,
"lat": 45.02,
"lng": 6.6,
"management_type": "professional",
"max_price": "600.0",
"mid_term_pricing_active": false,
"min_price": "420.0",
"name": "Cottage 1",
"nightly_rates_managed_externally": false,
"permit_number": "AQD9382857",
"position": 1,
"price_public_notes": {
"en": null
},
"rental_type": "villa",
"residency_category": "primary_residence",
"reviews_average_rating": "4.0",
"reviews_count": 5,
"sleeps": 8,
"sleeps_max": 9,
"state": null,
"stories_count": 2,
"summary": {
"en": "Great value. A place to enjoy peace and tranquility, away from mass tourism."
},
"surface": 120,
"surface_unit": "metric",
"website_url": {
"en": "https://example.com/en/rentals/123-rental-headline"
},
"created_at": "2023-12-11T08:26:28Z",
"updated_at": "2023-12-11T08:26:28Z",
"published_at": "2023-12-11T08:26:28Z",
"links": {
"account": 1,
"availability": 1,
"bathrooms": [
5,
6,
7
],
"bedrooms": [
8,
9,
10,
11
],
"change_over": 1,
"destination": 134,
"nightly_rate_map": 1,
"photos": [
1
],
"rates": [
1
],
"rates_table": 1,
"rental_agreement": 1,
"rental_cancelation_policy": 1,
"rentals_amenities": [
1,
2,
3
],
"rentals_fees": [
],
"rentals_tags": [
],
"reviews": [
1,
2,
3,
4,
5
],
"special_offers": [
1
]
}
}
],
"meta": {
}
}
{
"links": {
"rentals.account": "https://www.bookingsync.com/api/v3/accounts/{rentals.account}",
"rentals.availability": "https://www.bookingsync.com/api/v3/availabilities/{rentals.availability}",
"rentals.bathrooms": "https://www.bookingsync.com/api/v3/bathrooms/{rentals.bathrooms}",
"rentals.bedrooms": "https://www.bookingsync.com/api/v3/bedrooms/{rentals.bedrooms}",
"rentals.change_over": "https://www.bookingsync.com/api/v3/change_overs/{rentals.change_over}",
"rentals.destination": "https://www.bookingsync.com/api/v3/destinations/{rentals.destination}",
"rentals.nightly_rate_map": "https://www.bookingsync.com/api/v3/nightly_rate_maps/{rentals.nightly_rate_map}",
"rentals.photos": "https://www.bookingsync.com/api/v3/photos/{rentals.photos}",
"rentals.rates": "https://www.bookingsync.com/api/v3/rates/{rentals.rates}",
"rentals.rates_table": "https://www.bookingsync.com/api/v3/rates_tables/{rentals.rates_table}",
"rentals.rental_agreement": "https://www.bookingsync.com/api/v3/rental_agreements/{rentals.rental_agreement}",
"rentals.rental_cancelation_policy": "https://www.bookingsync.com/api/v3/rental_cancelation_policies/{rentals.rental_cancelation_policy}",
"rentals.rentals_amenities": "https://www.bookingsync.com/api/v3/rentals_amenities/{rentals.rentals_amenities}",
"rentals.rentals_fees": "https://www.bookingsync.com/api/v3/rentals_fees/{rentals.rentals_fees}",
"rentals.rentals_tags": "https://www.bookingsync.com/api/v3/rentals_tags/{rentals.rentals_tags}",
"rentals.reviews": "https://www.bookingsync.com/api/v3/reviews/{rentals.reviews}",
"rentals.special_offers": "https://www.bookingsync.com/api/v3/special_offers/{rentals.special_offers}"
},
"rentals": [
{
"id": 2,
"absolute_min_price": "300.0",
"address1": "58 Ville Haute",
"address2": null,
"base_rate": "700.0",
"base_rate_kind": "weekly",
"bathrooms_count": 3,
"bedrooms_count": 5,
"bookable_online": false,
"certifications": {
"meubles_de_tourisme": [
"1_etoile",
"2_etoiles",
"3_etoiles",
"4_etoiles"
]
},
"checkin_details": {
"en": "Please call us 15 min before your arrival so we can welcome you at the villa."
},
"checkin_time": 16,
"checkout_details": {
"en": "Please confirm us your departure time the day before so we can wish you a good travel back in person."
},
"checkout_time": 10,
"city": "Nevache",
"contact_name": "Betty Reichert",
"country_code": "FR",
"currency": "EUR",
"description": {
"en": "First class Villa for 9 people with private pool. Situated in a pleasant residential area."
},
"downpayment": 30,
"final_price": null,
"floor": "A",
"headline": {
"en": "Villa in Nevache, France"
},
"initial_price": null,
"lat": 45.02,
"lng": 6.6,
"management_type": "professional",
"max_price": "700.0",
"mid_term_pricing_active": false,
"min_price": "490.0",
"name": "Cottage 2",
"nightly_rates_managed_externally": false,
"notes": "Private comments.",
"position": 1,
"price_public_notes": {
"en": null
},
"rental_type": "villa",
"residency_category": "primary_residence",
"reviews_average_rating": "4.5",
"reviews_count": 1,
"sleeps": 9,
"sleeps_max": 10,
"state": null,
"stories_count": 2,
"summary": {
"en": "Great value. A place to enjoy peace and tranquility, away from mass tourism."
},
"surface": 120,
"surface_unit": "metric",
"website_url": {
"en": "https://example.com/en/rentals/123-rental-headline"
},
"zip": "05100",
"created_at": "2023-12-11T08:26:28Z",
"updated_at": "2023-12-11T08:26:28Z",
"published_at": "2023-12-11T08:26:28Z",
"links": {
"account": 1,
"availability": 2,
"bathrooms": [
5,
6,
7
],
"bedrooms": [
8,
9,
10,
11,
12
],
"change_over": 1,
"destination": 135,
"nightly_rate_map": 1,
"photos": [
2
],
"rates": [
3
],
"rates_table": 1,
"rental_agreement": 1,
"rental_cancelation_policy": 1,
"rentals_amenities": [
4
],
"rentals_fees": [
],
"rentals_tags": [
],
"reviews": [
2
],
"special_offers": [
3
]
}
}
],
"meta": {
}
}
Please note that translated attributes are updated differenly than you read them.
To set the English headline, locale en
, you need to use the headline_en
attribute.
List of locales described in enums section.
Returns a newly created rental.
POST /rentals
{
"rentals": [
{
"absolute_min_price": "300.0",
"amenity_ids": [
4
],
"bathrooms_count": 3,
"bedrooms_count": 5,
"certifications": {
"meubles_de_tourisme": [
"1_etoile",
"2_etoiles",
"3_etoiles",
"4_etoiles"
]
},
"headline_en": "Villa in Nevache, France",
"lat": 45.02,
"lng": 6.6,
"name": "Cottage 2",
"sleeps": 9,
"stories_count": 2,
"surface": 120,
"surface_unit": "metric"
}
]
}
{
"links": {
"rentals.account": "https://www.bookingsync.com/api/v3/accounts/{rentals.account}",
"rentals.availability": "https://www.bookingsync.com/api/v3/availabilities/{rentals.availability}",
"rentals.bathrooms": "https://www.bookingsync.com/api/v3/bathrooms/{rentals.bathrooms}",
"rentals.bedrooms": "https://www.bookingsync.com/api/v3/bedrooms/{rentals.bedrooms}",
"rentals.change_over": "https://www.bookingsync.com/api/v3/change_overs/{rentals.change_over}",
"rentals.destination": "https://www.bookingsync.com/api/v3/destinations/{rentals.destination}",
"rentals.nightly_rate_map": "https://www.bookingsync.com/api/v3/nightly_rate_maps/{rentals.nightly_rate_map}",
"rentals.photos": "https://www.bookingsync.com/api/v3/photos/{rentals.photos}",
"rentals.rates": "https://www.bookingsync.com/api/v3/rates/{rentals.rates}",
"rentals.rates_table": "https://www.bookingsync.com/api/v3/rates_tables/{rentals.rates_table}",
"rentals.rental_agreement": "https://www.bookingsync.com/api/v3/rental_agreements/{rentals.rental_agreement}",
"rentals.rental_cancelation_policy": "https://www.bookingsync.com/api/v3/rental_cancelation_policies/{rentals.rental_cancelation_policy}",
"rentals.rentals_amenities": "https://www.bookingsync.com/api/v3/rentals_amenities/{rentals.rentals_amenities}",
"rentals.rentals_fees": "https://www.bookingsync.com/api/v3/rentals_fees/{rentals.rentals_fees}",
"rentals.rentals_tags": "https://www.bookingsync.com/api/v3/rentals_tags/{rentals.rentals_tags}",
"rentals.reviews": "https://www.bookingsync.com/api/v3/reviews/{rentals.reviews}",
"rentals.special_offers": "https://www.bookingsync.com/api/v3/special_offers/{rentals.special_offers}"
},
"rentals": [
{
"id": 2,
"absolute_min_price": "300.0",
"address1": "58 Ville Haute",
"address2": null,
"base_rate": "700.0",
"base_rate_kind": "weekly",
"bathrooms_count": 3,
"bedrooms_count": 5,
"bookable_online": false,
"certifications": {
"meubles_de_tourisme": [
"1_etoile",
"2_etoiles",
"3_etoiles",
"4_etoiles"
]
},
"checkin_details": {
"en": "Please call us 15 min before your arrival so we can welcome you at the villa."
},
"checkin_time": 16,
"checkout_details": {
"en": "Please confirm us your departure time the day before so we can wish you a good travel back in person."
},
"checkout_time": 10,
"city": "Nevache",
"contact_name": "Betty Reichert",
"country_code": "FR",
"currency": "EUR",
"description": {
"en": "First class Villa for 9 people with private pool. Situated in a pleasant residential area."
},
"downpayment": 30,
"final_price": null,
"floor": "A",
"headline": {
"en": "Villa in Nevache, France"
},
"initial_price": null,
"lat": 45.02,
"lng": 6.6,
"management_type": "professional",
"max_price": "700.0",
"mid_term_pricing_active": false,
"min_price": "490.0",
"name": "Cottage 2",
"nightly_rates_managed_externally": false,
"notes": "Private comments.",
"position": 1,
"price_public_notes": {
"en": null
},
"rental_type": "villa",
"residency_category": "primary_residence",
"reviews_average_rating": "4.5",
"reviews_count": 1,
"sleeps": 9,
"sleeps_max": 10,
"state": null,
"stories_count": 2,
"summary": {
"en": "Great value. A place to enjoy peace and tranquility, away from mass tourism."
},
"surface": 120,
"surface_unit": "metric",
"website_url": {
"en": "https://example.com/en/rentals/123-rental-headline"
},
"zip": "05100",
"created_at": "2023-12-11T08:26:28Z",
"updated_at": "2023-12-11T08:26:28Z",
"published_at": "2023-12-11T08:26:28Z",
"links": {
"account": 1,
"availability": 2,
"bathrooms": [
5,
6,
7
],
"bedrooms": [
8,
9,
10,
11,
12
],
"change_over": 1,
"destination": 135,
"nightly_rate_map": 1,
"photos": [
2
],
"rates": [
3
],
"rates_table": 1,
"rental_agreement": 1,
"rental_cancelation_policy": 1,
"rentals_amenities": [
4
],
"rentals_fees": [
],
"rentals_tags": [
],
"reviews": [
2
],
"special_offers": [
3
]
}
}
],
"meta": {
}
}
Returns an updated rental identified by ID.
Please note that translated attributes are updated differenly than you read them.
To set the English headline, locale en
, you need to use the headline_en
attribute.
List of locales described in enums section.
PUT /rentals/:rental_id
{
"rentals": [
{
"absolute_min_price": "300.0",
"amenity_ids": [
4
],
"bathrooms_count": 3,
"bedrooms_count": 5,
"certifications": {
"meubles_de_tourisme": [
"1_etoile",
"2_etoiles",
"3_etoiles",
"4_etoiles"
]
},
"headline_en": "Villa in Nevache, France",
"lat": 45.02,
"lng": 6.6,
"name": "Cottage 2",
"sleeps": 9,
"stories_count": 2,
"surface": 120,
"surface_unit": "metric"
}
]
}
{
"links": {
"rentals.account": "https://www.bookingsync.com/api/v3/accounts/{rentals.account}",
"rentals.availability": "https://www.bookingsync.com/api/v3/availabilities/{rentals.availability}",
"rentals.bathrooms": "https://www.bookingsync.com/api/v3/bathrooms/{rentals.bathrooms}",
"rentals.bedrooms": "https://www.bookingsync.com/api/v3/bedrooms/{rentals.bedrooms}",
"rentals.change_over": "https://www.bookingsync.com/api/v3/change_overs/{rentals.change_over}",
"rentals.destination": "https://www.bookingsync.com/api/v3/destinations/{rentals.destination}",
"rentals.nightly_rate_map": "https://www.bookingsync.com/api/v3/nightly_rate_maps/{rentals.nightly_rate_map}",
"rentals.photos": "https://www.bookingsync.com/api/v3/photos/{rentals.photos}",
"rentals.rates": "https://www.bookingsync.com/api/v3/rates/{rentals.rates}",
"rentals.rates_table": "https://www.bookingsync.com/api/v3/rates_tables/{rentals.rates_table}",
"rentals.rental_agreement": "https://www.bookingsync.com/api/v3/rental_agreements/{rentals.rental_agreement}",
"rentals.rental_cancelation_policy": "https://www.bookingsync.com/api/v3/rental_cancelation_policies/{rentals.rental_cancelation_policy}",
"rentals.rentals_amenities": "https://www.bookingsync.com/api/v3/rentals_amenities/{rentals.rentals_amenities}",
"rentals.rentals_fees": "https://www.bookingsync.com/api/v3/rentals_fees/{rentals.rentals_fees}",
"rentals.rentals_tags": "https://www.bookingsync.com/api/v3/rentals_tags/{rentals.rentals_tags}",
"rentals.reviews": "https://www.bookingsync.com/api/v3/reviews/{rentals.reviews}",
"rentals.special_offers": "https://www.bookingsync.com/api/v3/special_offers/{rentals.special_offers}"
},
"rentals": [
{
"id": 2,
"absolute_min_price": "300.0",
"address1": "58 Ville Haute",
"address2": null,
"base_rate": "700.0",
"base_rate_kind": "weekly",
"bathrooms_count": 3,
"bedrooms_count": 5,
"bookable_online": false,
"certifications": {
"meubles_de_tourisme": [
"1_etoile",
"2_etoiles",
"3_etoiles",
"4_etoiles"
]
},
"checkin_details": {
"en": "Please call us 15 min before your arrival so we can welcome you at the villa."
},
"checkin_time": 16,
"checkout_details": {
"en": "Please confirm us your departure time the day before so we can wish you a good travel back in person."
},
"checkout_time": 10,
"city": "Nevache",
"contact_name": "Betty Reichert",
"country_code": "FR",
"currency": "EUR",
"description": {
"en": "First class Villa for 9 people with private pool. Situated in a pleasant residential area."
},
"downpayment": 30,
"final_price": null,
"floor": "A",
"headline": {
"en": "Villa in Nevache, France"
},
"initial_price": null,
"lat": 45.02,
"lng": 6.6,
"management_type": "professional",
"max_price": "700.0",
"mid_term_pricing_active": false,
"min_price": "490.0",
"name": "Cottage 2",
"nightly_rates_managed_externally": false,
"notes": "Private comments.",
"position": 1,
"price_public_notes": {
"en": null
},
"rental_type": "villa",
"residency_category": "primary_residence",
"reviews_average_rating": "4.5",
"reviews_count": 1,
"sleeps": 9,
"sleeps_max": 10,
"state": null,
"stories_count": 2,
"summary": {
"en": "Great value. A place to enjoy peace and tranquility, away from mass tourism."
},
"surface": 120,
"surface_unit": "metric",
"website_url": {
"en": "https://example.com/en/rentals/123-rental-headline"
},
"zip": "05100",
"created_at": "2023-12-11T08:26:28Z",
"updated_at": "2023-12-11T08:26:28Z",
"published_at": "2023-12-11T08:26:28Z",
"links": {
"account": 1,
"availability": 2,
"bathrooms": [
5,
6,
7
],
"bedrooms": [
8,
9,
10,
11,
12
],
"change_over": 1,
"destination": 135,
"nightly_rate_map": 1,
"photos": [
2
],
"rates": [
3
],
"rates_table": 1,
"rental_agreement": 1,
"rental_cancelation_policy": 1,
"rentals_amenities": [
4
],
"rentals_fees": [
],
"rentals_tags": [
],
"reviews": [
2
],
"special_offers": [
3
]
}
}
],
"meta": {
}
}
Required OAuth scope: :rentals_write
Returns an empty response with ‘204 No Content’ status code on success.
DELETE /rentals/:rental_id