Skip to main content

Update Hotel Reservation

4.0.0
Hotel
Reservation
SOAP API
Sabre Internal

The Update Hotel  Reservation (UpdateHotelResRQ) API  enables modifications or cancellations of previously booked reservations.

Not Signed In.

Looks like you may not have access to all of the resources and documentation for this page.
Please log-in or contact your support desk team if you believe you should have access.

Target Audience
Sabre Internal
API Version
4.0.0
Authentication
Session Token
Service Action Code
UpdateHotelResRQ

What is it?

The Update Hotel Reservation (UpdateHotelResRQ) API enables modifications or cancellations of previously booked reservations. This is an internal API only, for external customer-facing API, click here.

Why use it?

This API is used to provide the ability for customers to make true modifications of hotel bookings for GDS suppliers. It is also used to cancel previously done hotel bookings for GDS suppliers and aggregators.

How does it work?

Modify

Modifying Reservations is only for GDS suppliers. It is a two steps process- INITIATE/COMMIT.

Pre-modify information should be present in request which is taken from sell response and post modify information is also sent in UpdateHotelResRQ request.

It can be done in two ways depending on requirement-

  • Reshop – If customers modify the rate changing attributes in request. For example: Increase the stay period/Corporate id, etc. In this case he needs to shop again as rates gets change.
  • Non-Reshop – If customers modify the attributes not having any impact on rates, they need not to shop again. For example: Special Instructions, Checkin/Checkout date within date range, etc.

Cancel

Cancellation is both for GDS and Aggregators. For aggregators cancel is a single step process i.e., cancellation can be directly COMMIT.

How do I use it?

Modify

To modify hotel booking Action = MODIFY in UpdateHotelResRQ.

  • Transaction Id which we get during SELL response is sent in request to GDS during COMMIT.
  • Confirmation number (40) is required to be sent for both GDS and aggregators during COMMIT for MODIFY.
  • Ratekey and InfoSource needs to be present in UpdateHotelResRQ.

Cancel

To cancel hotel booking Action = CANCEL in UpdateHotelResRQ.

  • Transaction Id which we get during SELL response is sent in request to GDS during COMMIT for CANCEL.
  • Confirmation number (40) is required to be sent for both GDS and Aggregators during COMMIT for CANCEL.
  • Ratekey and InfoSource needs to be present in UpdateHotelResRQ.
Sample Request
<UpdateHotelResRQ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://services.sabre.com/hotel/update/reservation/v4" xsi:schemaLocation="http://services.sabre.com/hotel/update/reservation/v4 UpdateHotelResRQ_v4.0.0.xsd" version="4.0">
    <PreModifyInformation>
        <ResGlobalInfo>
            <BookingInfo Status="3" CreationDate="2008-09-29" ExistingItinerary="true" InfoSource="100" RateKey="rRIV8U/5h1rAj4qOpagFuvwNq5Dcn29DgUGuALniaTKea7xonALFyeWAz3g2pGdmedFBzRoCW2CMg/s9IjgA5pd3rjslifUjpEW18UIXa3aL+9MeAsjIyYYEbLMeM0xDrhgcaPif5mXrOVaR7rmE6Nt/cbEks+MdYXaOunnP2vxa+QcBHhqfuOkX/Vm2fe0h9p+iaFxlR6LgCpHBpSrLxrm6mfEYVLFac72xH9804dNpgng4XgFoDQg0z2BgDtBiJtJ7Et/nngMqlyjfqfZlIIxV0M6ZK8akk7dLmuZguTzH/UE9+p3gUr3dqc2KsSpvrC2lyNoeOaIBkpm9sgk88O5qpPlQZ2bUeSUrWM+uIdb+R9JVsBU6dLuxCdbH5n17EPIfwGAzSJss/MxwNUmXE2bpZqV9xPznPnRymEL5dNQZuCQxP4aPP0Eo8G14O8cMHsJox4zFK9axASI82zGidYh/FDz9XOpLb3/MAofezVp09IZRUjtg05GqNvZrK4lQ" TransactionId="PNR123452101630997250693" PartialCancelAllowed="true">
                <ReservationName Title="Mr" FirstName="ResFirstName" LastName="ResLastName"/>
                <HotelReservationIds>
                    <HotelReservation Id="PNR12345" Type="24" />
                    <HotelReservation Id="12345678" Type="5" />
                    <HotelReservation Id="140GC000537" Type="40" />
                </HotelReservationIds>

            </BookingInfo>
        </ResGlobalInfo>
        <Rooms NumberOfRooms="1">
            <Room RoomIndex="1" SegmentNumber="1">
                <Guests Count="1">
                    <Guest Title="Mr" FirstName="Test" LastName="Modify" Email="test@modify.com" Age="39" Index="1" LeadGuest="true" Type="10" >
                        <Contact Phone="String" Mobile="String" Fax="String" />
                    </Guest>
                </Guests>
            </Room>
        </Rooms>
        <PaymentInformation Type="GUARANTEE" Code="5">
            <CreditCardInfo>
                <CreditCardType>VI</CreditCardType>
                <CreditCardNumber>4444P61LHTSF1111</CreditCardNumber>
                <CardSecurityCode>123</CardSecurityCode>
                <ExpiryMonth>12</ExpiryMonth>
                <ExpiryYear>2025</ExpiryYear>
                <CardHolder Title="Mr" FirstName="Test" LastName="Modify" Email="test@modify.com" />
                <Address>
                    <AddressLine1>l1</AddressLine1>
                    <CityName CityCode="BLR">Bangalore</CityName>
                    <StateProv StateCode="KA">Hello</StateProv>
                    <PostalCode>97521</PostalCode>
                    <CountryName Code="IN">there</CountryName>
                </Address>
                <Contact Phone="8546880529" Mobile="89511119991" />
            </CreditCardInfo>
        </PaymentInformation>
        <RequestorID Type="5" Id="12345678" IdContext="IATA" />
    </PreModifyInformation>
    <BookingInfo TransactionType="COMMIT" RequestorID="1212" TransactionId="PNR123452101630997250693"   InfoSource="100" Action="MODIFY" CorpDiscount="1234">
        <ReservationName Title="Mr" FirstName="ResFirstName" LastName="ResLastName"/>
        <HotelReservationIds>
            <HotelReservation Id="PNR12345" Type="24" />
            <HotelReservation Id="12345678" Type="5" />
            <HotelReservation Id="140GC000537" Type="40" />
        </HotelReservationIds>
        <RateKey>rRIV8U/5h1rAj4qOpagFuvwNq5Dcn29DgUGuALniaTKea7xonALFyeWAz3g2pGdmedFBzRoCW2CMg/s9IjgA5pd3rjslifUjpEW18UIXa3aL+9MeAsjIyYYEbLMeM0xDrhgcaPif5mXrOVaR7rmE6Nt/cbEks+MdYXaOunnP2vxa+QcBHhqfuOkX/Vm2fe0h9p+iaFxlR6LgCpHBpSrLxrm6mfEYVLFac72xH9804dNpgng4XgFoDQg0z2BgDtBiJtJ7Et/nngMqlyjfqfZlIIxV0M6ZK8akk7dLmuZguTzH/UE9+p3gUr3dqc2KsSpvrC2lyNoeOaIBkpm9sgk88O5qpPlQZ2bUeSUrWM+uIdb+R9JVsBU6dLuxCdbH5n17EPIfwGAzSJss/MxwNUmXE2bpZqV9xPznPnRymEL5dNQZuCQxP4aPP0Eo8G14O8cMHsJox4zFK9axASI82zGidYh/FDz9XOpLb3/MAofezVp09IZRUjtg05GqNvZrK4lQ</RateKey>
        <StayDateRange>
            <StartDate>2021-10-20</StartDate>
            <EndDate>2021-10-23</EndDate>
        </StayDateRange>
    </BookingInfo>

    <Rooms GuestCount="1">
        <Room RoomIndex="1" SegmentNumber="1" Action="MODIFY">
            <Guests>
                <Guest Title="Mr" FirstName="Walter" LastName="White" Email="heisenberg@test.com" Age="31" Index="1" LeadGuest="true" Type="10" >
                    <Contact Phone="9999999" Mobile="8888888" Fax="7777777" />
                </Guest>
            </Guests>

        </Room>
    </Rooms>
    <PaymentInformation Type="GUARANTEE" Code="5">
        <CreditCardInfo>
            <CreditCardType>VI</CreditCardType>
            <CreditCardNumber>4444P61LHTSF1111</CreditCardNumber>
            <CardSecurityCode>123</CardSecurityCode>
            <ExpiryMonth>12</ExpiryMonth>
            <ExpiryYear>2025</ExpiryYear>
            <CardHolder Title="Mr" FirstName="Test" LastName="Modify" Email="test@modify.com" />
            <Address>
                <AddressLine1>l1</AddressLine1>
                <CityName CityCode="BLR">Bangalore</CityName>
                <StateProv StateCode="KA">Hello</StateProv>
                <PostalCode>97521</PostalCode>
                <CountryName Code="IN">there</CountryName>
            </Address>
            <Contact Phone="8546880529" Mobile="89511119991" />
        </CreditCardInfo>
    </PaymentInformation>
    <POS>
        <Source AgencyName="Really Trustworthy Agency" AgentSine="VKD" Lniata="1A222G" AgentOriginCity="MEL" ISOCountryCode="US" ISOCurrencyCode="USD" AuxPlaceOfOrigin="HDQ" IATAOriginatorTypeCode="T" CreationDate="2018-03-04" CreationTime="10:00:00" PseudoCityCode="TM61">
            <RequestorID Type="5" Id="12345678" IdContext="IATA" />
            <AgencyAddress>
                <AddressLine1>String</AddressLine1>
                <AddressLine2>String</AddressLine2>
                <AddressLine3>String</AddressLine3>
                <CityName CityCode="String">String</CityName>
                <StateProv StateCode="String">String</StateProv>
                <PostalCode>String</PostalCode>
                <CountryName Code="aa">String</CountryName>
            </AgencyAddress>
            <AgencyContact Phone="9723334678" Fax="123456789" />
        </Source>
    </POS>
</UpdateHotelResRQ>
Sample Response
<UpdateHotelResRS xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://services.sabre.com/hotel/update/reservation/v4" xsi:schemaLocation="http://services.sabre.com/hotel/update/reservation/v4 UpdateHotelResRS_v4.0.0.xsd" version="4.0">
    <ResGlobalInfo>
        <BookingInfo Status="39" InfoSource="100" TransactionId="PNR123452101630997250693">
            <HotelReservationIds>
                <HotelReservation Type="24" Id="PNR12345"/>
                <HotelReservation Type="40" Id="140GC000537"/>
            </HotelReservationIds>
        </BookingInfo>
    </ResGlobalInfo>
</UpdateHotelResRS>