Modify Reservation - Push_ModifyStay
Use this method to modify an existing confirmed reservation. You can modify guest details, property, dates, number of people, price, etc.
Use Cases
Typical modification reason is a guest modifies a reservation on the Sales Channel
Best Practices
- Verify new dates are available
- Calculate new price
- Get guest confirmation
- Handle modification fees
Important Notes
- Check availability for new dates first
- Price may change with modifications
- Some properties don't allow modifications
- Cancellation policy may apply
Request
Reservation timing restrictions
There are some restrictions if the reservation is past, ongoing or future.
- Past reservations: Modifications are not possible
- Ongoing reservations: All modifications are possible except for the check-in date
- Future reservations: All modifications are possible
Property location
You can transfer reservations between properties in different cities as long as the currency in both locations remains the same. It is especially useful when the properties are located close to each other, but are separated by administrative boundaries.
If there are more properties in the reservation (multiple ResApaIDs), then transferring the reservation between properties in different cities will not be possible.
Multiple ResApaIDs
When modifying a reservation with multiple apartments, it is not possible to change the information for all the apartments at once. You must make one call per apartment and specify the Push_ModifyStay_RQ/Current/ResApaID element.
XML request
<Push_ModifyStay_RQ>
<Authentication>
<AccessKey>[AccessKey]</AccessKey>
<SecretKey>[SecretKey]</SecretKey>
</Authentication>
<ReservationID>123456</ReservationID>
<Current>
<PropertyID>1</PropertyID>
<DateFrom>2015-06-02</DateFrom>
<DateTo>2015-06-03</DateTo>
</Current>
<Modify>
<PropertyID>2</PropertyID>
<DateFrom>2015-06-02</DateFrom>
<DateTo>2015-06-03</DateTo>
<NumberOfGuests>2</NumberOfGuests>
<ClientPrice>232.80</ClientPrice>
<AlreadyPaid>123.45</AlreadyPaid>
<ChannelCommission>12.00</ChannelCommission>
<PMSReservationId>7yd8</PMSReservationId>
<CancellationPolicyInfo>
<PolicyText>Full refund until 11 days before arrival. 50% charge from 4 to 10 days before arrival. 100% charge from 0 to 3 days before arrival.</PolicyText>
<CancellationPolicies>
<CancellationPolicy ValidFrom="0" ValidTo="3">100</CancellationPolicy>
<CancellationPolicy ValidFrom="4" ValidTo="10">50</CancellationPolicy>
</CancellationPolicies>
</CancellationPolicyInfo>
<GuestDetailsInfo>
<NumberOfAdults>2</NumberOfAdults>
<NumberOfChildren>2</NumberOfChildren>
<NumberOfInfants>3</NumberOfInfants>
<ChildrenAges>
<Age>12</Age>
<Age>9</Age>
<Age>2</Age>
<Age>2</Age>
<Age>1</Age>
</ChildrenAges>
<NumberOfPets>1</NumberOfPets>
</GuestDetailsInfo>
<ChannelBreakdownInfo>
<DayPrices Date="2015-06-02">
<RentInfo>
<Rent IncludedInChannelTotal="true" Amount="116.90" Currency="USD" Name="Room" />
</RentInfo>
<Taxes>
<Tax IncludedInChannelTotal="true" Amount="15.20" Currency="USD" Name="Room" />
<Tax IncludedInChannelTotal="true" Amount="12.08" Currency="USD" Name="Surcharge" />
</Taxes>
<Fees>
<Fee IncludedInChannelTotal="true" Amount="12.92" Currency="USD" Name="Surcharge" />
</Fees>
<Price>157.10</Price>
</DayPrices>
<ChannelTotalFeesTaxes>
<ChannelTotalFeeTax IncludedInChannelTotal="true" Amount="50.70" Currency="USD" Name="Room" ItemType="Tax" />
<ChannelTotalFeeTax IncludedInChannelTotal="true" Amount="12.08" Currency="USD" Name="Surcharge" ItemType="Tax" />
<ChannelTotalFeeTax IncludedInChannelTotal="true" Amount="12.92" Currency="USD" Name="Surcharge" ItemType="Fee" />
</ChannelTotalFeesTaxes>
<ChannelTotal>232.80</ChannelTotal>
<ChannelRent>232.80</ChannelRent>
</ChannelBreakdownInfo>
</Modify>
<AllowOverbooking>false</AllowOverbooking>
<UseCurrentPrice>false</UseCurrentPrice>
</Push_ModifyStay_RQ>
Currency values use three-letter ISO 4217 codes, such as EUR, USD, or GBP.
Distribution Hub does not provide a currency dictionary endpoint.
Request fields
| XML Path | Data Type | Type | Description |
|---|---|---|---|
| Push_ModifyStay_RQ | C | Root Element | |
| Push_ModifyStay_RQ/Authentication | C, M | Authentication details | |
| Push_ModifyStay_RQ/Authentication/AccessKey | String(100) | M | Access key |
| Push_ModifyStay_RQ/Authentication/SecretKey | String(100) | M | Secret key |
| Push_ModifyStay_RQ/ReservationID | String | M | Unique reservation ID |
| Push_ModifyStay_RQ/Current | C, M | Reservation details | |
| Push_ModifyStay_RQ/Current/PropertyID | String | M | ID of the originally booked property |
| Push_ModifyStay_RQ/Current/DateFrom | String(10) | M | Arrival date (YYYY-MM-DD format) |
| Push_ModifyStay_RQ/Current/DateTo | String(10) | M | Departure date (YYYY-MM-DD format) |
| Push_ModifyStay_RQ/Current/ResApaID | String(50) | O | Unique apartment reservation identifier. This element is mandatory if the reservation has multiple apartments assigned |
| Push_ModifyStay_RQ/Modify | C, M | Modification details | |
| Push_ModifyStay_RQ/Modify/PropertyID | String | O | New property ID. You can use the ID of a property located in another city as long as the currency is the same in both locations and the reservation contains only one apartment (ResApaID). |
| Push_ModifyStay_RQ/Modify/DateFrom | String(10) | O | New Arrival date (YYYY-MM-DD format) |
| Push_ModifyStay_RQ/Modify/DateTo | String(10) | O | New Departure date (YYYY-MM-DD format) |
| Push_ModifyStay_RQ/Modify/ArrivalTime | String(19) | O | New Arrival time (YYYY-MM-DD HH:MM:SS format) |
| Push_ModifyStay_RQ/Modify/NumberOfGuests | Integer | O | New number of guests staying in the property |
| Push_ModifyStay_RQ/Modify/ClientPrice | Decimal(19,2) | O | New price the client has to pay. The maximum accepted value is 214748.36 |
| Push_ModifyStay_RQ/Modify/AlreadyPaid | Decimal(19,2) | O | New price the client has already paid. The maximum accepted value is 214748.36 |
| Push_ModifyStay_RQ/Modify/ChannelCommission | Decimal(19,2) | O | New price the sales channel is charging. The maximum accepted value is 214748.36 |
| Push_ModifyStay_RQ/Modify/PMSReservationId | String(100) | O | New reservation ID from PMS |
| Push_ModifyStay_RQ/Modify/CancellationPolicyInfo | C, O | A container for the cancellation policy description and a collection of cancellation policies | |
| Push_ModifyStay_RQ/Modify/CancellationPolicyInfo/PolicyText | String(1000) | O | The cancellation policy description |
| Push_ModifyStay_RQ/Modify/CancellationPolicyInfo/CancellationPolicies | C, O | A collection of cancellation policies. Ranges that are not specified by any cancellation policy are fully refundable | |
| Push_ModifyStay_RQ/Modify/CancellationPolicyInfo/CancellationPolicies/CancellationPolicy | Decimal(19,2) | O | A percentage of the total price which the guest would be charged. The attributes ValidFrom and ValidTo represent the number of days before the arrival when the policy is valid |
| Push_ModifyStay_RQ/Modify/CancellationPolicyInfo/CancellationPolicies/CancellationPolicy@ValidFrom | Integer | O | The start of the range when the cancellation policy is valid, provided in days before the check-in day. @ValidFrom must be lower than or equal to @ValidTo. For example, @ValidFrom= 0 and @ValidTo = 0 indicates that the cancellation policy is valid on the day of the check-in. If @ValidFrom= 0 and @ValidTo = 7, the cancellation policy is valid on the day of check-in and 7 days before. Note that non-specified periods are fully refundable. |
| Push_ModifyStay_RQ/Modify/CancellationPolicyInfo/CancellationPolicies/CancellationPolicy@ValidTo | Integer | O | The end of the range when the cancellation policy is valid, provided in days before the check-in day. @ValidTo must be higher than or equal to @ValidFrom. For example, @ValidFrom= 0 and @ValidTo = 0 indicates that the cancellation policy is valid on the day of the check-in. If @ValidFrom= 0 and @ValidTo = 7, the cancellation policy is valid on the day of check-in and 7 days before. Note that non-specified periods are fully refundable. |
| Push_ModifyStay_RQ/Modify/GuestDetailsInfo | C, O | A container object for the reservation occupancy details | |
| Push_ModifyStay_RQ/Modify/GuestDetailsInfo/NumberOfAdults | Integer | M | Number of adults in the reservation |
| Push_ModifyStay_RQ/Modify/GuestDetailsInfo/NumberOfChildren | Integer | M | Number of children in the reservation |
| Push_ModifyStay_RQ/Modify/GuestDetailsInfo/NumberOfInfants | Integer | M | Number of infants in the reservation |
| Push_ModifyStay_RQ/Modify/GuestDetailsInfo/ChildrenAges | C, M | A container object that lists all children’s and infants' ages | |
| Push_ModifyStay_RQ/Modify/GuestDetailsInfo/ChildrenAges/Age | Integer | M | Age of a child or an infant in the reservation (acceptable values: 0-17) |
| Push_ModifyStay_RQ/Modify/GuestDetailsInfo/NumberOfPets | Integer | O | Number of pets in the reservation. To remove pets from reservation set to 0 |
| Push_ModifyStay_RQ/Modify/ChannelBreakdownInfo | C, O | A container object for the reservation price breakdown received from the sales channel | |
| Push_ModifyStay_RQ/Modify/ChannelBreakdownInfo/DayPrices | C, O | A collection of objects containing price information for each day of the reservation | |
| Push_ModifyStay_RQ/Modify/ChannelBreakdownInfo/DayPrices@Date | String(10) | M | Daily date (in the YYYY-MM-DD format) for which the price breakdown is displayed |
| Push_ModifyStay_RQ/Modify/ChannelBreakdownInfo/DayPrices/RentInfo | C, O | A collection of rent items for specific DayPrices@Date of the reservation | |
| Push_ModifyStay_RQ/Modify/ChannelBreakdownInfo/DayPrices/RentInfo/Rent@IncludedInChannelTotal | Boolean | M | Information if the rent value is included in ChannelTotal |
| Push_ModifyStay_RQ/Modify/ChannelBreakdownInfo/DayPrices/RentInfo/Rent@Amount | Decimal(19,2) | M | The daily rent value |
| Push_ModifyStay_RQ/Modify/ChannelBreakdownInfo/DayPrices/RentInfo/Rent@Currency | String(3) | M | ISO 4217 currency code for the rent amount |
| Push_ModifyStay_RQ/Modify/ChannelBreakdownInfo/DayPrices/RentInfo/Rent@Name | String(55) | M | Rent description |
| Push_ModifyStay_RQ/Modify/ChannelBreakdownInfo/DayPrices/Taxes | C, O | A collection of taxes for specific DayPrices@Date of the reservation | |
| Push_ModifyStay_RQ/Modify/ChannelBreakdownInfo/DayPrices/Taxes/Tax@IncludedInChannelTotal | Boolean | M | Information if the tax value is included in ChannelTotal |
| Push_ModifyStay_RQ/Modify/ChannelBreakdownInfo/DayPrices/Taxes/Tax@Amount | Decimal(19,2) | M | The amount of tax for the particular stay date |
| Push_ModifyStay_RQ/Modify/ChannelBreakdownInfo/DayPrices/Taxes/Tax@Currency | String(3) | M | ISO 4217 currency code for the tax amount |
| Push_ModifyStay_RQ/Modify/ChannelBreakdownInfo/DayPrices/Taxes/Tax@Name | String(55) | M | Tax description |
| Push_ModifyStay_RQ/Modify/ChannelBreakdownInfo/DayPrices/Fees | C, O | A collection of fees for specific DayPrices@Date of the reservation | |
| Push_ModifyStay_RQ/Modify/ChannelBreakdownInfo/DayPrices/Fees/Fee@IncludedInChannelTotal | Boolean | M | Information if the fee value is included in ChannelTotal |
| Push_ModifyStay_RQ/Modify/ChannelBreakdownInfo/DayPrices/Fees/Fee@Amount | Decimal(19,2) | M | The amount of fee for the particular stay date |
| Push_ModifyStay_RQ/Modify/ChannelBreakdownInfo/DayPrices/Fees/Fee@Currency | String(3) | M | ISO 4217 currency code for the fee amount |
| Push_ModifyStay_RQ/Modify/ChannelBreakdownInfo/DayPrices/Fees/Fee@Name | String(55) | M | Fee description |
| Push_ModifyStay_RQ/Modify/ChannelBreakdownInfo/DayPrices/Price | Decimal(19,2) | M | The sum of all items of a given DayPrice |
| Push_ModifyStay_RQ/Modify/ChannelBreakdownInfo/ChannelTotalFeesTaxes | C, O | A container object for fees and taxes applied for the whole stay and the ones that are applied per day | |
| Push_ModifyStay_RQ/Modify/ChannelBreakdownInfo/ChannelTotalFeesTaxes/ChannelTotalFeeTax@IncludedInChannelTotal | Boolean | M | Information if the total tax/fee amount of one type is included in ChannelTotal |
| Push_ModifyStay_RQ/Modify/ChannelBreakdownInfo/ChannelTotalFeesTaxes/ChannelTotalFeeTax@Amount | Decimal(19,2) | M | The overall value of taxes and fees of the whole stay. The value of a given fee/tax may be grater than the sum of all items with that name in DayPrices, as there can exist a fee/tax with the same name that isn't broken down into days but applies to the whole stay. |
| Push_ModifyStay_RQ/Modify/ChannelBreakdownInfo/ChannelTotalFeesTaxes/ChannelTotalFeeTax@Currency | String(3) | M | ISO 4217 currency code for the aggregated fee or tax amount |
| Push_ModifyStay_RQ/Modify/ChannelBreakdownInfo/ChannelTotalFeesTaxes/ChannelTotalFeeTax@Name | String(55) | M | Tax/fee description |
| Push_ModifyStay_RQ/Modify/ChannelBreakdownInfo/ChannelTotalFeesTaxes/ChannelTotalFeeTax@ItemType | String(3) | M | Information whether the item is a tax or a fee |
| Push_ModifyStay_RQ/Modify/ChannelBreakdownInfo/ChannelTotal | Decimal(19,2) | M | The total price paid by the guest for the whole stay as received from the sales channel |
| Push_ModifyStay_RQ/Modify/ChannelBreakdownInfo/ChannelRent | Decimal(19,2) | M | The rent value of the whole stay |
| Push_ModifyStay_RQ/AllowOverbooking | Boolean | O | If true, then allows for an overbooking. Default is false |
| Push_ModifyStay_RQ/UseCurrentPrice | Boolean | O | If true, then the reservation price will not be recalculated. Default is false |
| Push_ModifyStay_RQ/QuoteModeId | Integer | O | See List Quote Modes. This parameter only works for Rentals United. |
Response
XML response
<Push_ModifyStay_RS>
<Status ID="0">Success</Status>
<ResponseID ID="1">Success</ResponseID>
</Push_ModifyStay_RS>
Response fields
| XML Path | Data Type | Type | Description |
|---|---|---|---|
| Push_ModifyStay_RS | C | Root Element | |
| Push_ModifyStay_RS/Status | String(100) | M | See ListStatuses |
| Push_ModifyStay_RS/Status/@ID | Integer | M | See ListStatuses |
| Push_ModifyStay_RS/ResponseID | String(32) | M | Unique response ID |