Skip to main content

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​

  1. Verify new dates are available
  2. Calculate new price
  3. Get guest confirmation
  4. 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 codes

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 PathData TypeTypeDescription
Push_ModifyStay_RQCRoot Element
Push_ModifyStay_RQ/AuthenticationC, MAuthentication details
Push_ModifyStay_RQ/Authentication/AccessKeyString(100)MAccess key
Push_ModifyStay_RQ/Authentication/SecretKeyString(100)MSecret key
Push_ModifyStay_RQ/ReservationIDStringMUnique reservation ID
Push_ModifyStay_RQ/CurrentC, MReservation details
Push_ModifyStay_RQ/Current/PropertyIDStringMID of the originally booked property
Push_ModifyStay_RQ/Current/DateFromString(10)MArrival date (YYYY-MM-DD format)
Push_ModifyStay_RQ/Current/DateToString(10)MDeparture date (YYYY-MM-DD format)
Push_ModifyStay_RQ/Current/ResApaIDString(50)OUnique apartment reservation identifier. This element is mandatory if the reservation has multiple apartments assigned
Push_ModifyStay_RQ/ModifyC, MModification details
Push_ModifyStay_RQ/Modify/PropertyIDStringONew 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/DateFromString(10)ONew Arrival date (YYYY-MM-DD format)
Push_ModifyStay_RQ/Modify/DateToString(10)ONew Departure date (YYYY-MM-DD format)
Push_ModifyStay_RQ/Modify/ArrivalTimeString(19)ONew Arrival time (YYYY-MM-DD HH:MM:SS format)
Push_ModifyStay_RQ/Modify/NumberOfGuestsIntegerONew number of guests staying in the property
Push_ModifyStay_RQ/Modify/ClientPriceDecimal(19,2)ONew price the client has to pay. The maximum accepted value is 214748.36
Push_ModifyStay_RQ/Modify/AlreadyPaidDecimal(19,2)ONew price the client has already paid. The maximum accepted value is 214748.36
Push_ModifyStay_RQ/Modify/ChannelCommissionDecimal(19,2)ONew price the sales channel is charging. The maximum accepted value is 214748.36
Push_ModifyStay_RQ/Modify/PMSReservationIdString(100)ONew reservation ID from PMS
Push_ModifyStay_RQ/Modify/CancellationPolicyInfoC, OA container for the cancellation policy description and a collection of cancellation policies
Push_ModifyStay_RQ/Modify/CancellationPolicyInfo/PolicyTextString(1000)OThe cancellation policy description
Push_ModifyStay_RQ/Modify/CancellationPolicyInfo/CancellationPoliciesC, OA collection of cancellation policies. Ranges that are not specified by any cancellation policy are fully refundable
Push_ModifyStay_RQ/Modify/CancellationPolicyInfo/CancellationPolicies/CancellationPolicyDecimal(19,2)OA 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@ValidFromIntegerOThe 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@ValidToIntegerOThe 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/GuestDetailsInfoC, OA container object for the reservation occupancy details
Push_ModifyStay_RQ/Modify/GuestDetailsInfo/NumberOfAdultsIntegerMNumber of adults in the reservation
Push_ModifyStay_RQ/Modify/GuestDetailsInfo/NumberOfChildrenIntegerMNumber of children in the reservation
Push_ModifyStay_RQ/Modify/GuestDetailsInfo/NumberOfInfantsIntegerMNumber of infants in the reservation
Push_ModifyStay_RQ/Modify/GuestDetailsInfo/ChildrenAgesC, MA container object that lists all children’s and infants' ages
Push_ModifyStay_RQ/Modify/GuestDetailsInfo/ChildrenAges/AgeIntegerMAge of a child or an infant in the reservation (acceptable values: 0-17)
Push_ModifyStay_RQ/Modify/GuestDetailsInfo/NumberOfPetsIntegerONumber of pets in the reservation. To remove pets from reservation set to 0
Push_ModifyStay_RQ/Modify/ChannelBreakdownInfoC, OA container object for the reservation price breakdown received from the sales channel
Push_ModifyStay_RQ/Modify/ChannelBreakdownInfo/DayPricesC, OA collection of objects containing price information for each day of the reservation
Push_ModifyStay_RQ/Modify/ChannelBreakdownInfo/DayPrices@DateString(10)MDaily date (in the YYYY-MM-DD format) for which the price breakdown is displayed
Push_ModifyStay_RQ/Modify/ChannelBreakdownInfo/DayPrices/RentInfoC, OA collection of rent items for specific DayPrices@Date of the reservation
Push_ModifyStay_RQ/Modify/ChannelBreakdownInfo/DayPrices/RentInfo/Rent@IncludedInChannelTotalBooleanMInformation if the rent value is included in ChannelTotal
Push_ModifyStay_RQ/Modify/ChannelBreakdownInfo/DayPrices/RentInfo/Rent@AmountDecimal(19,2)MThe daily rent value
Push_ModifyStay_RQ/Modify/ChannelBreakdownInfo/DayPrices/RentInfo/Rent@CurrencyString(3)MISO 4217 currency code for the rent amount
Push_ModifyStay_RQ/Modify/ChannelBreakdownInfo/DayPrices/RentInfo/Rent@NameString(55)MRent description
Push_ModifyStay_RQ/Modify/ChannelBreakdownInfo/DayPrices/TaxesC, OA collection of taxes for specific DayPrices@Date of the reservation
Push_ModifyStay_RQ/Modify/ChannelBreakdownInfo/DayPrices/Taxes/Tax@IncludedInChannelTotalBooleanMInformation if the tax value is included in ChannelTotal
Push_ModifyStay_RQ/Modify/ChannelBreakdownInfo/DayPrices/Taxes/Tax@AmountDecimal(19,2)MThe amount of tax for the particular stay date
Push_ModifyStay_RQ/Modify/ChannelBreakdownInfo/DayPrices/Taxes/Tax@CurrencyString(3)MISO 4217 currency code for the tax amount
Push_ModifyStay_RQ/Modify/ChannelBreakdownInfo/DayPrices/Taxes/Tax@NameString(55)MTax description
Push_ModifyStay_RQ/Modify/ChannelBreakdownInfo/DayPrices/FeesC, OA collection of fees for specific DayPrices@Date of the reservation
Push_ModifyStay_RQ/Modify/ChannelBreakdownInfo/DayPrices/Fees/Fee@IncludedInChannelTotalBooleanMInformation if the fee value is included in ChannelTotal
Push_ModifyStay_RQ/Modify/ChannelBreakdownInfo/DayPrices/Fees/Fee@AmountDecimal(19,2)MThe amount of fee for the particular stay date
Push_ModifyStay_RQ/Modify/ChannelBreakdownInfo/DayPrices/Fees/Fee@CurrencyString(3)MISO 4217 currency code for the fee amount
Push_ModifyStay_RQ/Modify/ChannelBreakdownInfo/DayPrices/Fees/Fee@NameString(55)MFee description
Push_ModifyStay_RQ/Modify/ChannelBreakdownInfo/DayPrices/PriceDecimal(19,2)MThe sum of all items of a given DayPrice
Push_ModifyStay_RQ/Modify/ChannelBreakdownInfo/ChannelTotalFeesTaxesC, OA 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@IncludedInChannelTotalBooleanMInformation if the total tax/fee amount of one type is included in ChannelTotal
Push_ModifyStay_RQ/Modify/ChannelBreakdownInfo/ChannelTotalFeesTaxes/ChannelTotalFeeTax@AmountDecimal(19,2)MThe 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@CurrencyString(3)MISO 4217 currency code for the aggregated fee or tax amount
Push_ModifyStay_RQ/Modify/ChannelBreakdownInfo/ChannelTotalFeesTaxes/ChannelTotalFeeTax@NameString(55)MTax/fee description
Push_ModifyStay_RQ/Modify/ChannelBreakdownInfo/ChannelTotalFeesTaxes/ChannelTotalFeeTax@ItemTypeString(3)MInformation whether the item is a tax or a fee
Push_ModifyStay_RQ/Modify/ChannelBreakdownInfo/ChannelTotalDecimal(19,2)MThe total price paid by the guest for the whole stay as received from the sales channel
Push_ModifyStay_RQ/Modify/ChannelBreakdownInfo/ChannelRentDecimal(19,2)MThe rent value of the whole stay
Push_ModifyStay_RQ/AllowOverbookingBooleanOIf true, then allows for an overbooking. Default is false
Push_ModifyStay_RQ/UseCurrentPriceBooleanOIf true, then the reservation price will not be recalculated. Default is false
Push_ModifyStay_RQ/QuoteModeIdIntegerOSee 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 PathData TypeTypeDescription
Push_ModifyStay_RSCRoot Element
Push_ModifyStay_RS/StatusString(100)MSee ListStatuses
Push_ModifyStay_RS/Status/@IDIntegerMSee ListStatuses
Push_ModifyStay_RS/ResponseIDString(32)MUnique response ID