Occupancy Based Rates
1 min
Occupancy Based Rates Update
POST
https://api.bakuun.com/ratedockAPI/agent/v2/updateoccuraterq
{
"password": "XXXXX",
"username": "XXXXX",
"hotelId": "string",
"startDateYmd": "YYYY-MM-DD",
"endDateYmd": "YYYY-MM-DD",
"action": "occPriceUpdate",
"dailyRates": [
{
"roomCode": "string",
"condCode": "string",
"rateDiscount": "10.5",
"rateModel": "OBP",
"cancelPolicy": "Not Refundable",
"currencyCode": "USD",
"priceDetails": [
{
"rateType": "NET",
"amountAfterTax": "7876.00",
"amountBeforeTax": "7876.00",
"occupancy": {
"adultCount": 22,
"childCount": [
{
"count": 1,
"minAge": "0",
"maxAge": "0",
"costDetails": {
"unit": "currency",
"amountBeforeTax": "10.00",
"amountAfterTax": "10.00",
"taxDetails": {
"Before": {
"taxType": "VAT",
"taxValue": "10.00",
"included": "0"
},
"After": {
"taxType": "VAT",
"taxValue": "10.00",
"included": "0"
}
}
}
}
],
"infantCount": []
},
"taxFeeDetails": {
"Before": {
"tax": {
"taxType": "VAT",
"taxValue": "10.00",
"included": "0"
},
"fees": {
"feeType": "per night",
"feeValue": "200.00",
"included": "0"
},
"offers": {
"offerType": "no offer",
"offerValue": ""
}
},
"After": {
"tax": {
"taxType": "VAT",
"taxValue": "10.00",
"included": "0"
},
"fees": {
"feeType": "per night",
"feeValue": "200.00",
"included": "0"
},
"offers": {
"offerType": "no offer",
"offerValue": ""
}
}
}
}
]
}
]
}