Skip to main content

NDC IT OrderReshop

Air
Reservation
REST API
Airline Carrier
Try Now

What is it?

The OrderReshop API is designed to provide the opportunity to modify an existing booking or ticket. To update an existing order, the service creates new offers based on the requested change. Cancel operations are supported as well. Request criteria must be defined depending on the type of the required modification. The API previews changes to orders that have been created and paid, with the only exception made for cancelling an unpaid order.

Why use it?

The OrderReshop API offers you the possibility to preview various types of modifications to an existing order.

Example scenarios include:

  • Full or partial cancellation of a paid order with penalty calculation for a potential refund.

  • Full cancellation of an unpaid order.

  • Voiding functionality, which allows you to void a payment transaction without penalties and cancel the entire order.

How it works

The OrderReshop API executes the following steps to return a preview of an order modification:

  1. Retrieves an existing order and obtains its content.

  2. Validates provided request parameters to understand what reshop operations are required.

  3. Compares the order content against the request content to ensure that the request can be fulfilled.

  4. Creates an offer to show the traveler a preview of the requested operation (e.g., refund amount) and allows them to make a decision whether to proceed further or not (using the OrderChange API).

How to use

Cancel a paid or unpaid order

Depending on your needs, an order can be cancelled either in full or in part.

  • To perform a cancellation of an entire order, your request should contain the order ID provided as OrderRefID:
    <IATA_OrderReshopRQ>
    <!-- DistributionChain -->
    <!-- POS -->
    <Request>
        <OrderRefID>S2XXXGJ6JUT3L</OrderRefID>
        <UpdateOrder>
            <CancelOrderRef>
                <OrderRefID>S2XXXGJ6JUT3L</OrderRefID>
            </CancelOrderRef>
        </UpdateOrder>
    </Request>
    </IATA_OrderReshopRQ>

If the order is within its void period defined by the airline, the OrderReshop response will show a preview of a fully cancelled order without any penalty or retained amount. If it is outside of the void period, a regular cancellation will take place and any relevant penalties will be applied.

  • To perform a partial order cancellation, add the corresponding OrderRefID and the IDs of items that need to be cancelled (OrderItemRefID) to your request. Items whose IDs are not included in the request will remain unchanged, unless they are dependent on cancelled items - for example, a seat order item for a flight that is going to be cancelled as a result of the request.
    <IATA_OrderReshopRQ>
    <!-- DistributionChain -->
    <!-- POS -->
    <Request>
    <OrderRefID>S2XXXGJ6JUT3L</OrderRefID>
    <UpdateOrder>
      <ReshopOrder>
        <ReshopOrderChoice>
          <ServiceOrder>
            <DeleteOrderItem>
              <OrderItemRefID>2</OrderItemRefID>
            </DeleteOrderItem>
          </ServiceOrder>
        </ReshopOrderChoice>
      </ReshopOrder>
    </UpdateOrder>
    </Request>
    </IATA_OrderReshopRQ>

For more information, please refer to the OrderReshop User Guide available under the Help tab.