Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Reprice operation returns the actual fares (for ticketing operation) and price calculation according to the specified itinerary parameters .to use further in ticketing operation

Use cases

The following list of cases supported by the Shopping API operation and provides their required inputs as well as a list of common inputs used with that case:

  • Standard reprice flow — allows to get current prices of chosen solution for ticketing. Includes passenger types and itinerary information.
    1. Regular booking — in case proceeding payment on Agent side to get prices without service fees. Requires Agent credentials
      1. Basic (default) — for non-corporate clients
      2. 3D agreement — to get prices with applied discount for the corporate client and chosen solution. Requires Corporate client credentials
        1. Auto (default) — search in discount database in case value isn't specified in request
          (warning) Currently not available on production environment
        2. Manual — manual input the value of discount in request
    2. Facilitated booking — in case proceeding payment on S7 side. Requires skipping of Agent credentials input and special permission from our technical support to get prices with service fees

    (warning) The following list of cases isn't combinable

    3D agreement reprice flow — allows to get current prices of chosen solution for ticketing (сonsidering corporate discount). Includes Agent/Corporate client and itinerary information.

    Table of contents

    Table of Contents

    Request (ItinReshopRQ)

    Required inputs

    xPath
    #NameFormat/Reference
    1
    1Block of access parametersUse credentials that you received from our technical support. Check out Quick Start for how to get it and References for more details/Envelope /Body /ItinReshopRQ /Party /Sender /AgentUserSender
    2Itinerary informationFlight segments infirmation/Envelope /Body /ItinReshopRQ /Query /Reshop /Actions /OrderItems /OrderItem /FlightItem /OriginDestination
    Itinerary
    • Info for each segment: origin, destination, departure and arrival date, marketing airline and flight number
    • Segments must be divided into slices (one slice for One Way trip, two for Round Trip and more for MultiCity, Check glossary for more info)
    2Fare 3Fare basis code and RBD

    Fare basis

    code

    and RBD codes

    /Envelope /Body /ItinReshopRQ /Query/Reshop /Actions /OrderItems /OrderItem /FlightItem /FareDetail
    4Passengers references

    Includes references to passengers

    /Envelope /Body /ItinReshopRQ /Query /Reshop /Actions /OrderItems /OrderItem /Associations /Passengers /PassengerReferences

    for each segment

    (warning) For all passengers must be specified the same values

    3PassengersList of PTC and their quantity for the whole journey5Passenger typeList of passenger types/Envelope/Body /ItinReshopRQ /Query /Passengers

    Optional parameters

    xPath/Envelope /Body /ItinReshopRQ /Query /Reshop /Actions /BookingReferences
    #NameFormat/Reference
    11Booking References

    PNR locator

    Agent credentials

    Use credentials that you received from our technical support. Check out Quick Start for how to get it and References for more details

    Skipping of Agent credentials input provides receiving prices with service fees, but only if special permission from our technical support to get

    23D agreement credentials

    Available only for scenario with 3D AgreementUse credentials that you received from our technical support. Check out Quick Start for how to get those IDs

    Skipping of 3D agreement credentials input provides receiving prices without discounts for the corporate client

    33D agreement discount

    Available only for scenario with 3D Agreement. Manual input

    /Envelope/Body /ItinReshopRQ /Query/Reshop /Actions /Qualifiers /Qualifier /SpecialFareQualifiers

    Skipping manual input of discount provides searching in discount database
    (warning) Currently not available on production environment


    Response (ItinReshopRS)

    #NameFormat/ReferencexPath
    1Passengers list

    List of passenger types and

    object keys
    /Envelope /Body /ItinReshopRS /Response /Passengers
    2Itinerary informationFlight segments infirmation/Envelope /Body /ItinReshopRS /Response /Order
    3Pricing informationPricing information for all passenger types/Envelope /Body /ItinReshopRS /Response /ReShopOffers /ReShopOffer
    4Checked Baggage Allowance information

    List of Checked Baggage Allowance for each segment

    /Envelope /Body /ItinReshopRS /Response /DataList /CheckedBagAllowanceList

    5Valid before dateSegments not valid after date

    /Envelope /Body /ItinReshopRS /Response /DataList /TermsList

    Samples

    their quantities

    (warning) Known issue: quantities is always "1", but all prices calculated correctly (used passenger quantity from request)

    2Itinerary
    • Info for each segment: origin, destination, departure and arrival date, marketing airline and flight number
    • Segments divided into slices (one slice for One Way trip, two for Round Trip and more for MultiCity, Check glossary for more info)
    3Fare, RBD and etc.
    • For each segment:
      • Fare basis and RBD codes
        (warning) Can be replaced by another codes in some cases. Check response reference for more info
      • Amount of child/infant discount
    • For the whole itinerary:
      • Restrictions of fare application (endorsement)
      • VAT amount (endorsement)
      • Conversation rate (endorsement)
      • Unstructured fare calculation line (endorsement)
    4Pricing for all passengers

    Totals in sale currency:

    • Total (fare + tax + service fee) — for payment
    • Fare
    • Taxes
    • Service fees
    5Pricing for all passengers of each PTC

    Totals in sale currency:

    • Total (fare + tax + service fee)
    • Fare
    • Taxes
    • Service fees
    6Pricing for 1 passengers of each PTC
    • Totals in sale currency:
      • Total (fare + tax + service fee) — for payment
      • Fare
      • Taxes
      • Service fees
    • Prices in original (filed) currency
      • Total fare
      • Prices of each tax in original (filed) currency
    7Checked baggage allowance

    Baggage quantity and unit of measure for each passenger type and segment

    (warning) Will be deprecated soon
    Do not use for ticket issuing — check searchFlight operation response for the value

    8Ticket validation periodStart and/or end dates for each segment

    Samples

    children
    Children Display
    alltrue
    styleh3
    pagereprice operation | Samples
    excerptTyperich content