Modify Booking
1 min
Modify Booking API
POST
https://wspull.bakuun.com/v2/booking/MPBXX/xxxxx
{
"username": "testusername",
"password": "testpassword",
"tokenId": "4434324324324",
"partnerId": "RDKXX",
"partnerName": "Captooe Hindustan",
"action": "pushModifyBooking",
"hotelReservation": [
{
"hotelCode": "HTLXX.X",
"hotelName": "Ibis Testing Brand 1234",
"resID": "test-reservatuion1223",
"resStatus": "Modify",
"checkIn": "2022-12-23T15:00",
"checkOut": "2022-12-25T15:00",
"paymentMethod": "VCC",
"rateType": "BAR",
"currencyCode": "RUB",
"totalAdult": "2",
"totalChild": "2",
"childAges": [
3,
6
],
"roomStays": [
{
"occupancyRefId": "2",
"roomTypeId": "R503.1.2",
"roomName": "Budget Single Room",
"ratePlanId": "R503.1.2.1",
"cancelPolicy": "Non Refundable",
"numberOfUnits": "2",
"mealslncluded": "Breakfast",
"adultCount": "2",
"childCount": "2",
"childAges": [
"3",
"6"
],
"commission": "5.00",
"roomIndex": "1",
"ResGuestRPH": "1",
"bookingPerDayPrices": [
{
"dateYmd": "2022-12-23",
"price": "110.00"
},
{
"dateYmd": "2022-12-24",
"price": "190.00"
}
],
"total": {
"amountAfterTaxes": "600.00",
"amountBeforeTaxes": "600.00"
},
"mealsExcluded": {
"mealsExlcudedPerDayPrices": [
{
"dateYmd": "2022-12-23",
"excludedMeals": "breakfast,lunch,dinner",
"breakfastChargeInfo": [
{
"ageQualifying": "adult",
"mealsPerUnit": "100.00",
"mealPerDay": "300.00",
"adultMealCount": "3"
},
{
"ageQualifying": "child",
"mealsPerUnit": "100.00",
"mealPerDay": "300.00",
"childMealCount": "2",
"child_ages": [
3,
6
]
},
{
"ageQualifying": "infant",
"mealsPerUnit": "null",
"mealPerDay": "null",
"infantMealCount": "2",
"infant_ages": [
3,
6
]
}
],
"lunchChargeInfo": [
{
"ageQualifying": "adult",
"mealsPerUnit": "100.00",
"mealPerDay": "300.00",
"adultMealCount": "3"
},
{
"ageQualifying": "child",
"mealsPerUnit": "100.00",
"mealPerDay": "300.00",
"childMealCount": "2",
"child_ages": [
3,
6
]
},
{
"ageQualifying": "infant",
"mealsPerUnit": "null",
"mealPerDay": "null",
"infantMealCount": "2",
"infant_ages": [
3,
6
]
}
],
"dinnerChargeInfo": [
{
"ageQualifying": "adult",
"mealsPerUnit": "100.00",
"mealPerDay": "300.00",
"adultMealCount": "3"
},
{
"ageQualifying": "child",
"mealsPerUnit": "100.00",
"mealPerDay": "300.00",
"childMealCount": "2",
"child_ages": [
3,
6
]
},
{
"ageQualifying": "infant",
"mealsPerUnit": "null",
"mealPerDay": "null",
"infantMealCount": "2",
"infant_ages": [
3,
6
]
}
]
},
{
"dateYmd": "2022-12-24",
"excludedMeals": "no meals"
}
]
},
"roomIncServices": [
{
"serviceId": "123",
"serviceName": "servicename"
},
{
"serviceId": "234",
"serviceName": "servicename"
}
],
"roomExtraServices": [
{
"serviceId": "123",
"serviceName": "servicefirst",
"servicesChargeInfo": [
{
"ageQualifying": "adult",
"extraAdultCount": "3",
"extraRate": "10.00",
"totalExtraAmount": "30.00"
},
{
"ageQualifying": "child",
"extraChildRate": "10.00",
"totalExtraAmount": "30.00",
"childExtraCount": "2",
"child_ages": [
3,
6
]
},
{
"ageQualifying": "infant",
"extraInfantRate": "10.00",
"totalExtraAmount": "30.00",
"childInfantCount": "3",
"child_ages": [
3,
3,
6
]
}
]
},
{
"serviceId": "343",
"serviceName": "servicesecond",
"servicesChargeInfo": [
{
"ageQualifying": "guest",
"extraCount": "3",
"extraRate": "null",
"totalExtraAmount": "null"
},
{
"ageQualifying": "child",
"extraChildRate": "null",
"totalExtraAmount": "null",
"childExtraCount": "1",
"child_ages": [
3
]
},
{
"ageQualifying": "infant",
"extraInfantRate": "",
"totalExtraAmount": "",
"childInfantCount": ""
}
]
}
]
},
{
"occupancyRefId": "3",
"roomTypeId": "R503.1.2",
"roomName": "Budget Single Room",
"ratePlanId": "R503.1.2.1",
"cancelPolicy": "Non Refundable",
"numberOfUnits": "2",
"mealslncluded": "Breakfast",
"adultCount": "2",
"childCount": "0",
"commission": "5.00",
"roomIndex": "2",
"ResGuestRPH": "2",
"bookingPerDayPrices": [
{
"dateYmd": "2022-12-23",
"price": "110.00"
},
{
"dateYmd": "2022-12-24",
"price": "190.00"
}
],
"total": {
"amountAfterTaxes": "600.00",
"amountBeforeTaxes": "600.00"
},
"mealsExcluded": {
"mealsExlcudedPerDayPrices": [
{
"dateYmd": "2022-12-23",
"excludedMeals": "no meals"
},
{
"dateYmd": "2022-12-24",
"excludedMeals": "no meals"
}
]
}
}
],
"guestDetails": [
{
"ResGuestRPH": "1",
"firstName": "Test1",
"lastName": "Booking",
"middleName": "",
"email": "[email protected]",
"phone": "111111111",
"address": "Pune",
"country": "India"
},
{
"ResGuestRPH": "2",
"firstName": "Test2",
"lastName": "Booking",
"middleName": "",
"email": "[email protected]",
"phone": "909999989",
"address": "Italy",
"country": "Italy"
}
],
"Comment": {
"Text": "one-room"
},
"paymentCard": {
"cardHolderName": "IVANOV IVAN",
"cardType": "Visa",
"cardCategory": "CC",
"cardNumber": "123213213216549687",
"ExpiryMonth": "04",
"ExpiryYear": "2022",
"StartDayMonth": "XYZ",
"StartDayYear": "XYZ",
"IssueNum": "2",
"seriesCode": "123",
"vccBalance": "200.99",
"vccCurrencyCode": "EUR",
"vccActivationDate": "2021-09-19",
"vccDeactivationDate": "2021-09-19"
},
"totalCharge": [
{
"taxDetails": {
"typeTax": "VAT",
"includes": "0",
"taxPrice": "10.00",
"taxDetails": "TAX 10% not included"
},
"priceDetails": [
{
"rateType": "BAR",
"amountAfterTaxes": "490.00",
"amountBeforeTaxes": "490.00"
}
]
}
]
}
]
}