Modify
1 min
Modify
POST
https://wsb.bakuun.com/v2/booking/MPBXX/XXXX
{
"username": "XXXXXX",
"password": "XXXXXX",
"partnerId": "MPBXX",
"partnerName": "May test Slough",
"action": "pushModifyBooking",
"hotelReservation": [
{
"hotelCode": "HTLXXX",
"hotelName": "Novotel Barossa Valley Resort",
"resID": "RD0079929-Bakuod186053033",
"resStatus": "Modify",
"checkIn": "YYYY-MM-DDTHH:MM",
"checkOut": "YYYY-MM-DDTHH:MM",
"paymentMethod": "BANK",
"rateType": "BAR",
"currencyCode": "HKD",
"totalAdult": "3",
"totalChild": "2",
"child_ages": [3,6],
"totalBaby": "1",
"baby_ages": [1],
"roomStays": [
{
"roomTypeId": "RXXX.X",
"roomName": "Deluxe Double Room with Sea View",
"roomType": "Daily Room",
"ratePlanId": "RXXX.X.X",
"cancelPolicy": "Non refundable",
"numberOfUnits": "1",
"adultCount": "2",
"childCount": "2",
"child_ages": [3,6],
"babyCount": "1",
"baby_ages": [1],
"commission": "5.00",
"roomIndex": "1",
"ResGuestRPH": "1",
"bookingPerDayPrices": [
{
"dateYmd": "YYYY-MM-DD",
"price": "XXX.XX"
}
],
"total": {
"amountAfterTaxes": "XXX.XX",
"amountBeforeTaxes": "XXX.XX"
},
"roomIncServices": [
{
"serviceId": "123",
"IncServiceName": "servicename",
"inclusion": "0",
"priceExtra": "500.30"
}
]
},
{
"roomTypeId": "RXXX.X",
"roomName": "Deluxe Double Room with Sea View",
"roomType": "Daily Room",
"ratePlanId": "RXXX.X.X",
"cancelPolicy": "Non refundable",
"numberOfUnits": "1",
"adultCount": "2",
"childCount": "2",
"child_ages": [3,6],
"babyCount": "1",
"baby_ages": [1],
"commission": "5.00",
"roomIndex": "2",
"ResGuestRPH": "2",
"bookingPerDayPrices": [
{
"dateYmd": "YYYY-MM-DD",
"price": "XXX.XX"
}
],
"total": {
"amountAfterTaxes": "XXX.XX",
"amountBeforeTaxes": "XXX.XX"
},
"roomIncServices": [
{
"serviceId": "123",
"IncServiceName": "servicename",
"inclusion": "0",
"priceExtra": "500.30"
}
]
}
],
"guestDetails": [
{
"ResGuestRPH": "1",
"firstName": "Test",
"lastName": "User",
"middleName": "Test",
"email": "[email protected]",
"phone": "111111111",
"address": "Pune",
"country": "India"
},
{
"ResGuestRPH": "2",
"firstName": "Test",
"lastName": "Userg",
"middleName": "",
"email": "[email protected]",
"phone": "111111111",
"address": "Pune",
"country": "india"
}
],
"Comment": {
"Text": "one-room"
},
"paymentCard": {
"cardHolderName": "",
"cardType": "",
"cardCategory": "",
"cardNumber": "",
"ExpiryMonth": "",
"ExpiryYear": "",
"StartDayMonth": "",
"StartDayYear": "",
"IssueNum": "",
"seriesCode": "",
"vccBalance": "",
"vccCurrencyCode": "",
"vccDeactivationDate": "",
"vccActivationDate": ""
},
"totalCharge": [
{
"taxDetails": {
"typeTax": "VAT",
"includes": "0/1",
"taxPrice": "10.00",
"taxDetails": "TAX 10% not included"
},
"priceDetails": [
{
"rateType": "BAR",
"amountAfterTaxes": "XXX.XX",
"amountBeforeTaxes": "XXX.XX"
}
]
}
]
}
]
}