Occupancy Based Rates - Extra Adults
1 min
Update Rates
POST
https://api.bakuun.com/ratedockAPI/agent/updateoccuraterq (COPY)
{
"password": "string",
"username": "string",
"hotelId": "string",
"startDateYmd": "YYYY-MM-DD",
"endDateYmd": "YYYY-MM-DD",
"action": "occPriceUpdate",
"dailyRates": [
{
"roomCode": "string",
"condCode": "string",
"rateDiscount": "20.5",
"rateModel": "OBP",
"cancelPolicy": "24 days or charge 80% of 6 nights stay / Day of arrival (18:00) or charge 90% of the first night",
"currencyCode": "EUR",
"priceDetails": [
{
"rateType": "BAR",
"amountBeforeTax": "100.00",
"amountAfterTax": "100.00",
"occupancy": {
"adultCount": 3,
"additionalAdultCount": [
{
"count": 1,
"costDetails": {
"unit": "currency",
"amountBeforeTax": "12.00",
"amountAfterTax": "12.00",
"taxDetails": {
"Before": {
"taxType": "VAT",
"taxValue": "20.00",
"included": "0"
},
"After": {
"taxType": "VAT",
"taxValue": "20.00",
"included": "0"
}
}
},
"countOption": "and"
}
],
"childCount": [
{
"count": 1,
"countOption": "and",
"minAge": "3",
"maxAge": "8",
"costDetails": {
"unit": "currency",
"amountBeforeTax": "100.00",
"amountAfterTax": "100.00",
"taxDetails": {
"Before": {
"taxType": "VAT",
"taxValue": "5.00",
"included": "0"
},
"After": {
"taxType": "VAT",
"taxValue": "5.00",
"included": "0"
}
}
}
}
],
"infantCount": [{
"count": 1,
"countOption": "and",
"minAge": "0",
"maxAge": "4",
"costDetails": {
"unit": "currency",
"amountBeforeTax": "100.00",
"amountAfterTax": "100.00",
"taxDetails": {
"Before": {
"taxType": "VAT",
"taxValue": "5.00",
"included": "0"
},
"After": {
"taxType": "VAT",
"taxValue": "5.00",
"included": "0"
}
}
}
}
]
},
"taxFeeDetails": {
"Before": {
"tax": {
"taxType": "VAT",
"taxValue": "10.00",
"included": "0"
},
"fees": {
"feeType": "percentage",
"feeValue": "10.00",
"included": "1"
},
"offers": {
"offerType": "sales",
"offerValue": "10.00"
}
},
"After": {
"tax": {
"taxType": "VAT",
"taxValue": "10.00",
"included": "0"
},
"fees": {
"feeType": "percentage",
"feeValue": "10.00",
"included": "1"
},
"offers": {
"offerType": "sales",
"offerValue": "10.00"
}
}
}
}
]
}
]
}