.. _IATA_OrderReshopRQ:

******************
IATA_OrderReshopRQ
******************

.. raw:: html

   <h3>Introduction</h3>

The IATA_OrderReshopRQ is the main message used for:

#. Deletion of an infinitive number of OrderItems (flight segments and/or ASR/SSRs) from an existing booking. (use case example: outbound flight for booking with 2 passenger should be deleted from a booking.)
#. Change of flight data if more than one passenger included in booking or more than one flight segment affected (use case example: OrderItems must be cancelled and a new OfferItems beeing added.)

.. note::

    For the change of existing ASR/SSRs (=delete old ASR/SSRs and add new ASR/SSRs), offers for the ASR/SSRs to be deleted must first be requested using the IATA_OrderReshopRQ.

    Then these offers must be accepted - together with the offers for the new ASR/SSRs (determined during separate ServiceList/SeatAvailabilityRQ) -  within the IATA_OrderChangeRQ.

It can be used to inquire changes in a pricing step.

The response to this message is always an IATA_OrderReshopRS

.. raw:: html

   <h3>General Usage</h3>

The message is used to send an Inquiry for OrderItems to be deleted (relating to flights and/or ASR/SSRs) and/or new OfferItems (new flight data) that should be added to a booking.

The response to this request will be an IATA_OrderReshopRS which contains offers for the desired changes. This can be used to get a price for the new items (only new flight data supported! not new ASR/SSR) and/or possible rebooking fees for items that should be deleted. The final total price can only be seen in the final update request (=IATA_OrderChangeRQ).

For each OrderItem which should be cancelled, the partner then receives a "Cancel-Offer" in the form of an OfferItemID for each specified OrderItemRefID and a corresponding OfferID.

**The booking has not been changed at this point!**

If the desired changes are then actually to be implemented, an IATA_OrderChangeRQ must be submitted.

Within this IATA_OrderChangeRQ the OfferID and OfferItemID recieved from the “OrderReshopRS” must now beeing “patched” with the corresponding PaxSegmentRefID and PaxRefID from the OrderViewRS in the finale update request (=IATA_OrderChangeRQ) as both elements are mandatory.

.. raw:: html

   <h3>Sample</h3>

.. raw:: html

   <h4>IATA_OrderReshopRQ</h4>

.. toggle-header::
    :header: **Show/Hide Request**

        .. code-block:: xml

              <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
              <IATA_OrderReshopRQ
                 xmlns="http://www.iata.org/IATA/2015/EASD/00/IATA_OffersAndOrdersMessage"
                 xmlns:ns2="http://www.iata.org/IATA/2015/EASD/00/IATA_OffersAndOrdersCommonTypes"
                 xmlns:ns3="http://www.w3.org/2000/09/xmldsig#">
                 <DistributionChain>
                    <ns2:DistributionChainLink>
                       <ns2:Ordinal>1</ns2:Ordinal>
                       <ns2:OrgRole>Seller</ns2:OrgRole>
                       <ns2:ParticipatingOrg>
                          <ns2:OrgID>94021</ns2:OrgID>
                       </ns2:ParticipatingOrg>
                    </ns2:DistributionChainLink>
                 </DistributionChain>
                 <Request>
                    <ns2:OrderRefID>10000084</ns2:OrderRefID>
                    <ns2:UpdateOrder>
                       <ns2:ReshopOrder>
                          <ns2:ReshopOrderChoice>
                             <ns2:ServiceOrder>
                                <ns2:DeleteOrderItem>
                                   <ns2:OrderItemRefID>OI100000845</ns2:OrderItemRefID>
                                </ns2:DeleteOrderItem>
                                <ns2:DeleteOrderItem>
                                   <ns2:OrderItemRefID>OI100000846</ns2:OrderItemRefID>
                                </ns2:DeleteOrderItem>
                                <ns2:DeleteOrderItem>
                                   <ns2:OrderItemRefID>OI100000847</ns2:OrderItemRefID>
                                </ns2:DeleteOrderItem>
                                <ns2:DeleteOrderItem>
                                   <ns2:OrderItemRefID>OI100000848</ns2:OrderItemRefID>
                                </ns2:DeleteOrderItem>
                             </ns2:ServiceOrder>
                          </ns2:ReshopOrderChoice>
                       </ns2:ReshopOrder>
                    </ns2:UpdateOrder>
                 </Request>
              </IATA_OrderReshopRQ>

|

.. raw:: html

   <h4>IATA_OrderReshopRS</h4>

.. toggle-header::
    :header: **Show/Hide Response**

        .. code-block:: xml

              <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
              <ns2:IATA_OrderReshopRS
                 xmlns="http://www.iata.org/IATA/2015/EASD/00/IATA_OffersAndOrdersCommonTypes"
                 xmlns:ns2="http://www.iata.org/IATA/2015/EASD/00/IATA_OffersAndOrdersMessage"
                 xmlns:ns3="http://www.w3.org/2000/09/xmldsig#">
                 <ns2:Response>
                    <DataLists>
                       <ContactInfoList>
                          <ContactInfo>
                             <ContactInfoID>C1</ContactInfoID>
                             <ContactPurposeText>Primary</ContactPurposeText>
                             <EmailAddress>
                                <EmailAddressText>SUPPORT@PRIBAS.COM</EmailAddressText>
                             </EmailAddress>
                             <Phone>
                                <PhoneNumber>4911111111</PhoneNumber>
                             </Phone>
                             <PostalAddress>
                                <CityName>CITY</CityName>
                                <PostalCode>12345</PostalCode>
                                <StreetText>STREET 1</StreetText>
                             </PostalAddress>
                          </ContactInfo>
                          <ContactInfo>
                             <ContactInfoID>C2</ContactInfoID>
                             <ContactPurposeText>Agency</ContactPurposeText>
                             <Individual>
                                <IndividualID>IN5</IndividualID>
                                <Surname>CONDOR FLUGDIENST GMBH</Surname>
                             </Individual>
                             <Phone>
                                <PhoneNumber>01803400290</PhoneNumber>
                             </Phone>
                             <PostalAddress>
                                <CityName>NEU  ISENBURG</CityName>
                                <CountryCode>DE</CountryCode>
                                <PostalCode>63263</PostalCode>
                                <StreetText>AN DER GEHESPITZ 50</StreetText>
                             </PostalAddress>
                          </ContactInfo>
                       </ContactInfoList>
                       <DatedMarketingSegmentList>
                          <DatedMarketingSegment>
                             <Arrival>
                                <AircraftScheduledDateTime>2024-07-08T15:45:00</AircraftScheduledDateTime>
                                <IATA_LocationCode>TFS</IATA_LocationCode>
                             </Arrival>
                             <CarrierDesigCode>DE</CarrierDesigCode>
                             <DatedMarketingSegmentId>DMS1</DatedMarketingSegmentId>
                             <DatedOperatingSegmentRefId>DOS1</DatedOperatingSegmentRefId>
                             <Dep>
                                <AircraftScheduledDateTime>2024-07-08T11:50:00</AircraftScheduledDateTime>
                                <IATA_LocationCode>FRA</IATA_LocationCode>
                             </Dep>
                             <MarketingCarrierFlightNumberText>1478</MarketingCarrierFlightNumberText>
                          </DatedMarketingSegment>
                       </DatedMarketingSegmentList>
                       <DatedOperatingLegList>
                          <DatedOperatingLeg>
                             <Arrival>
                                <AircraftScheduledDateTime>2024-07-08T15:45:00</AircraftScheduledDateTime>
                                <IATA_LocationCode>TFS</IATA_LocationCode>
                             </Arrival>
                             <CarrierAircraftType/>
                             <DatedOperatingLegID>DOL1</DatedOperatingLegID>
                             <Dep>
                                <AircraftScheduledDateTime>2024-07-08T11:50:00</AircraftScheduledDateTime>
                                <IATA_LocationCode>FRA</IATA_LocationCode>
                             </Dep>
                             <DistanceMeasure UnitCode="km">3238.80</DistanceMeasure>
                          </DatedOperatingLeg>
                       </DatedOperatingLegList>
                       <DatedOperatingSegmentList>
                          <DatedOperatingSegment>
                             <CarrierDesigCode>DE</CarrierDesigCode>
                             <DatedOperatingLegRefID>DOL1</DatedOperatingLegRefID>
                             <DatedOperatingSegmentId>DOS1</DatedOperatingSegmentId>
                             <Duration>P0Y0M0DT4H55M0.000S</Duration>
                             <OperatingCarrierFlightNumberText>1478</OperatingCarrierFlightNumberText>
                          </DatedOperatingSegment>
                       </DatedOperatingSegmentList>
                       <OriginDestList>
                          <OriginDest>
                             <DestCode>TFS</DestCode>
                             <OriginCode>FRA</OriginCode>
                             <OriginDestID>OD1</OriginDestID>
                             <PaxJourneyRefID>PJ1</PaxJourneyRefID>
                          </OriginDest>
                       </OriginDestList>
                       <PaxJourneyList>
                          <PaxJourney>
                             <DistanceMeasure UnitCode="km">3238.80</DistanceMeasure>
                             <Duration>P0Y0M0DT4H55M0.000S</Duration>
                             <PaxJourneyID>PJ1</PaxJourneyID>
                             <PaxSegmentRefID>PS1</PaxSegmentRefID>
                          </PaxJourney>
                       </PaxJourneyList>
                       <PaxList>
                          <Pax>
                             <Individual>
                                <GenderCode>M</GenderCode>
                                <GivenName>AAA</GivenName>
                                <IndividualID>IN1</IndividualID>
                                <Surname>LASTNAME</Surname>
                             </Individual>
                             <PaxID>PX1</PaxID>
                             <PaxRefID>PX4</PaxRefID>
                             <PTC>ADT</PTC>
                          </Pax>
                          <Pax>
                             <Individual>
                                <GenderCode>M</GenderCode>
                                <GivenName>AAB</GivenName>
                                <IndividualID>IN2</IndividualID>
                                <Surname>LASTNAME</Surname>
                             </Individual>
                             <PaxID>PX2</PaxID>
                             <PTC>ADT</PTC>
                          </Pax>
                          <Pax>
                             <Individual>
                                <Birthdate>2019-06-25</Birthdate>
                                <GenderCode>M</GenderCode>
                                <GivenName>AAC</GivenName>
                                <IndividualID>IN3</IndividualID>
                                <Surname>LASTNAME</Surname>
                             </Individual>
                             <PaxID>PX3</PaxID>
                             <PTC>CHD</PTC>
                          </Pax>
                          <Pax>
                             <Individual>
                                <Birthdate>2024-05-25</Birthdate>
                                <GenderCode>M</GenderCode>
                                <GivenName>AAD</GivenName>
                                <IndividualID>IN4</IndividualID>
                                <Surname>LASTNAME</Surname>
                             </Individual>
                             <PaxID>PX4</PaxID>
                             <PTC>INF</PTC>
                          </Pax>
                       </PaxList>
                       <PaxSegmentList>
                          <PaxSegment>
                             <CabinTypeAssociationChoice>
                                <SegmentCabinType>
                                   <CabinTypeName>ECONOMY</CabinTypeName>
                                </SegmentCabinType>
                             </CabinTypeAssociationChoice>
                             <DatedMarketingSegmentRefId>DMS1</DatedMarketingSegmentRefId>
                             <PaxSegmentID>PS1</PaxSegmentID>
                          </PaxSegment>
                       </PaxSegmentList>
                       <SeatProfileList/>
                       <ServiceDefinitionList>
                          <ServiceDefinition>
                             <Desc>
                                <DescText>English breakfast</DescText>
                             </Desc>
                             <Name>English breakfast</Name>
                             <OwnerCode>DE</OwnerCode>
                             <RFIC>GME</RFIC>
                             <ServiceCode>EBML</ServiceCode>
                             <ServiceDefinitionID>SVD1</ServiceDefinitionID>
                          </ServiceDefinition>
                          <ServiceDefinition>
                             <Desc>
                                <DescText>English breakfast</DescText>
                             </Desc>
                             <Name>English breakfast</Name>
                             <OwnerCode>DE</OwnerCode>
                             <RFIC>GME</RFIC>
                             <ServiceCode>EBML</ServiceCode>
                             <ServiceDefinitionID>SVD2</ServiceDefinitionID>
                          </ServiceDefinition>
                          <ServiceDefinition>
                             <Desc>
                                <DescText>English breakfast</DescText>
                             </Desc>
                             <Name>English breakfast</Name>
                             <OwnerCode>DE</OwnerCode>
                             <RFIC>GME</RFIC>
                             <ServiceCode>EBML</ServiceCode>
                             <ServiceDefinitionID>SVD3</ServiceDefinitionID>
                          </ServiceDefinition>
                          <ServiceDefinition>
                             <Desc>
                                <DescText>Namechange Service</DescText>
                             </Desc>
                             <Name>NAMECHANGE</Name>
                             <OwnerCode>NA</OwnerCode>
                             <ServiceDefinitionID>SVD4</ServiceDefinitionID>
                          </ServiceDefinition>
                       </ServiceDefinitionList>
                    </DataLists>
                    <Order>
                       <OrderID>10000084</OrderID>
                       <OwnerCode>DE</OwnerCode>
                       <StatusCode>OK</StatusCode>
                    </Order>
                    <ReshopResults>
                       <ReshopOffers>
                          <Offer>
                             <DeleteOrderItem>
                                <ExistingOrderItem>
                                   <OrderItemRefID>OI100000845</OrderItemRefID>
                                </ExistingOrderItem>
                                <OfferItemID>OFI657ff8ca-32cb-11ef-ba7c-0399ff49d4ac1</OfferItemID>
                             </DeleteOrderItem>
                             <DeleteOrderItem>
                                <ExistingOrderItem>
                                   <OrderItemRefID>OI100000846</OrderItemRefID>
                                </ExistingOrderItem>
                                <OfferItemID>OFI657ff8ca-32cb-11ef-ba7c-0399ff49d4ac2</OfferItemID>
                             </DeleteOrderItem>
                             <DeleteOrderItem>
                                <ExistingOrderItem>
                                   <OrderItemRefID>OI100000847</OrderItemRefID>
                                </ExistingOrderItem>
                                <OfferItemID>OFI657ff8ca-32cb-11ef-ba7c-0399ff49d4ac3</OfferItemID>
                             </DeleteOrderItem>
                             <DeleteOrderItem>
                                <ExistingOrderItem>
                                   <OrderItemRefID>OI100000848</OrderItemRefID>
                                </ExistingOrderItem>
                                <OfferItemID>OFI657ff8ca-32cb-11ef-ba7c-0399ff49d4ac4</OfferItemID>
                             </DeleteOrderItem>
                             <OfferID>OF657ff8ca-32cb-11ef-ba7c-0399ff49d4ac</OfferID>
                             <OwnerCode>DE</OwnerCode>
                             <TotalPrice>
                                <TaxSummary>
                                   <Tax>
                                      <Amount CurCode="EUR">173.94</Amount>
                                      <TaxCode>TAX</TaxCode>
                                   </Tax>
                                   <TotalTaxAmount CurCode="EUR">173.94</TotalTaxAmount>
                                </TaxSummary>
                                <TotalAmount CurCode="EUR">1498.97</TotalAmount>
                             </TotalPrice>
                          </Offer>
                       </ReshopOffers>
                    </ReshopResults>
                 </ns2:Response>
                 <ns2:PayloadAttributes>
                    <Timestamp>2024-06-25T08:17:43.44024448</Timestamp>
                    <TrxID>de755476-2235-4513-9540-237663cb1c41</TrxID>
                    <VersionNumber>21.3</VersionNumber>
                 </ns2:PayloadAttributes>
              </ns2:IATA_OrderReshopRS>

|