BookingUpsert
ID of the apartment in provider database
123456Date of arrival
2020-10-20Date of departure
2020-10-30bareRentalPrice objectrequired
Price with amount and currency
Price value
100Price currency
EURtotalPrice object
Price with amount and currency
Price value
100Price currency
EURcommissionablePrice object
Price with amount and currency
Price value
100Price currency
EURcosts object[]
Breakdown of extra costs for the booking.
Name of the cost
Possible values: [FINAL_CLEANING, EXTRA_CLEANING, REFUNDABLE_SECURITY_DEPOSIT, TOURIST_OR_CITY_TAX, ECO_TAX, VAT_OF_RENTAL_PRICE, BOOKING_FEE, HYGIENE_SURCHARGE, PET, TRAVEL_INSURANCE, TOWEL, BEDLINEN, TOWEL_BEDLINEN_PACKAGE, KITCHEN_TOWELS, BEDLINEN_AND_BEDMAKING, BABY_BED, BABY_CHAIR, BABY_COT, BABY_BUGGY, BABY_HIGH_CHAIR, EXTRA_BED, HEATING, AIRCONDITION, FIREWOOD, ELECTRICITY, WATER, GAS, SAUNA, POOL, HOT_TUB, WASHING_MACHINE, BEACH_SERVICES, CLUB_CARD, INTERNET, PARKING, AIRPORT_SHUTTLE, BREAKFAST, SERVICE_COSTS]
FINAL_CLEANINGWhen the cost is paid. Treated as paid with the booking if omitted.
Possible values: [ON_BOOKING, WITH_RATES, ONSITE]
WITH_RATEStotalPrice objectrequired
Price with amount and currency
Price value
100Price currency
EURNumber of guests
2Rate identifier
DEFAULT{
"providerApartmentId": "123456",
"arrival": "2020-10-20",
"departure": "2020-10-30",
"bareRentalPrice": {
"amount": 100,
"currency": "EUR"
},
"totalPrice": {
"amount": 100,
"currency": "EUR"
},
"commissionablePrice": {
"amount": 100,
"currency": "EUR"
},
"costs": [
{
"name": "FINAL_CLEANING",
"paymentTime": "WITH_RATES",
"totalPrice": {
"amount": 100,
"currency": "EUR"
}
}
],
"numberOfGuests": 2,
"rateId": "DEFAULT"
}