The AirOrderRePrice is used to reprice the specific travel itinerary that allows the user to recalculate the price for a preferred offer for a flight booking.
This returns the Response with total price for the selected itinerary, including taxes, fees, or other charges associated with the booking.
This endpoint requires certain information to be provided,like shopping Response Id, offer Id, and passenger details which may include the passengers name, passengers Id, and the Document Number
As it provides customers with accurate and up-to-date pricing information for their travel plans.
Schema
- Name: Provide the name for the request. This is a String value.
- ReferenceVersion: Provide the version number. This is a Numeric value.
This is an optional field.
-
Travel Agency Sender:
-
Name: Provide the name for the request. This is a String value.
-
IATA Number: Provide the IATA number for the request. This is a String value.
-
Agency ID: Provide the agency ID for the request. This is a String value.
-
Contacts: This is an Array.
- EmailContact: Provide the email contact for the request. This is a String value.
-
The Shopping Response ID is a unique identifier that is generated when a customer performs a search for flights and receives a list of available options.
This is the required field and the value will be Numeric.
-
Reshop:
- OfferID: When a customer performs a search for flights, the airline generates a list of available offers that meet the customer’s search criteria. Each offer within that list is assigned a unique OfferID.It is important to provide the correct numeric value to ensure that the system can identify the correct offer.This is the required field, and the value will be Numeric.
-
Passenger: This is an Array.
Note: This is a required field. The passenger list must have at least one adult. Infant object count should be less than or equal to the adult count. More than nine passengers are not accepted.
-
PassengerID: Provide the passenger ID for the request. This is a String value.
-
PTC: Provide the passenger type. Valid values are
ADT
,CHD
, andINF
. This is a String value. -
NameTitle: Provide the title of the name. Valid values are
Mrs
,Miss
,Ms
, andMstr
. This is a String value. -
FirstName: Provide the first name. This is a String value.
-
MiddleName: Provide the middle name. This is a String value.
-
LastName: Provide the last name. This is a String value.
-
DocumentNumber: This is the unique passenger’s identification number received at the time of ticketing response. It is a required field, and the value will be the String.
-
Request URL Sample
curl --location --request POST 'https://uat-apigateway.voyzantonline.com/AirOrderReshop' \
--header 'Authorization: <YOUR_ACCESS_TOKEN>' \
--header 'x-api-key: <your key here>' \
--header 'Content-Type: application/json'\
Request Body Sample
{
"OrderReshopRQ": {
"Document": {
"Name": "Skyroute B2B Portal",
"ReferenceVersion": "1.0"
},
"Party": {
"Sender": {
"TravelAgencySender": {
"Name": "Skyroute B2B",
"IATA_Number": "1111111111",
"AgencyID": "1111111111",
"Contacts": {
"Contact": [
{
"EmailContact": "skyroute@gmail.com"
}
]
}
}
}
},
"ShoppingResponseId": "1621872101595186031",
"Query": {
"Reshop": {
"OrderServicing": {
"Add": {
"Qualifier": {
"ExistingOrderQualifier": {
"OrderKeys": {
"Offer": [
{
"OfferID": "151711621872123950663624"
}
]
}
}
}
}
}
}
},
"DataLists": {
"PassengerList": {
"Passenger": [
{
"PassengerID": "T1",
"PTC": "ADT",
"NameTitle": "Mr",
"FirstName": "downey",
"MiddleName": "",
"LastName": "Robert",
"DocumentNumber": "6073737593222"
}
]
}
},
"MetaData": {
"TraceId": "161777799749"
}
}
}
Response Sample
{
"OrderReshopRS": {
"Document": {
"Name": "
Voyzant API GATEWAY",
"ReferenceVersion": "1.2"
},
"Party": {
"Sender": {
"TravelAgencySender": {
"Name": "kathir",
"IATA_Number": "",
"AgencyID": "",
"Contacts": {
"Contact": [
{
"EmailContact": "kathir@gmail.com"
}
]
}
}
}
},
"ShoppingResponseId": "1621872101595186031",
"OfferResponseId": "1621872196262889196",
"Success": {},
"ReshopOffers": [
{
"ReshopOffer": [
{
"OfferID": "151711621872123950663624",
"Owner": "EY",
"OwnerName": "Etihad Airways",
"Eticket": "true",
"AllowHold": "N",
"TimeLimits": {
"OfferExpirationDateTime": "2021-05-24T23:33:43",
"PaymentExpirationDateTime": "2021-05-24 04:00:00"
},
"PassportRequired": "N",
"BookingCurrencyCode": "CAD",
"EquivCurrencyCode": "CAD",
"HstPercentage": "",
"RewardSettings": {
"RewardAvailable": "N",
"PointTypes": [],
"PointValues": {}
},
"BookingFeeInfo": {
"FeeType": "AOT",
"BookingCurrencyPrice": 10,
"EquivCurrencyPrice": 10
},
"TotalPrice": {
"BookingCurrencyPrice": 29.76,
"EquivCurrencyPrice": 29.76
},
"BasePrice": {
"BookingCurrencyPrice": 28.83,
"EquivCurrencyPrice": 28.83
},
"TaxPrice": {
"BookingCurrencyPrice": 0.93,
"EquivCurrencyPrice": 0.93
},
"Commission": {
"AgencyCommission": {
"BookingCurrencyPrice": 0,
"EquivCurrencyPrice": 0
},
"AgencyYqCommission": {
"BookingCurrencyPrice": 0,
"EquivCurrencyPrice": 0
}
},
"PortalCharges": {
"Markup": {
"BookingCurrencyPrice": 0,
"EquivCurrencyPrice": 0
},
"Surcharge": {
"BookingCurrencyPrice": 0,
"EquivCurrencyPrice": 0
},
"Discount": {
"BookingCurrencyPrice": 0,
"EquivCurrencyPrice": 0
}
},
"ReshopDifferential": {
"OriginalOrder": {
"TotalPrice": {
"BookingCurrencyPrice": 128.38,
"EquivCurrencyPrice": 128.38
},
"BasePrice": {
"BookingCurrencyPrice": 63.17,
"EquivCurrencyPrice": 63.17
},
"TaxPrice": {
"BookingCurrencyPrice": 65.21,
"EquivCurrencyPrice": 65.21
}
},
"NewOffer": {
"TotalPrice": {
"BookingCurrencyPrice": 158.14,
"EquivCurrencyPrice": 158.14
},
"BasePrice": {
"BookingCurrencyPrice": 92,
"EquivCurrencyPrice": 92
},
"TaxPrice": {
"BookingCurrencyPrice": 66.14,
"EquivCurrencyPrice": 66.14
}
},
"PenaltyAmount": {
"TotalPrice": {
"BookingCurrencyPrice": 0,
"EquivCurrencyPrice": 0
}
},
"ReshopDue": {
"TotalPrice": {
"BookingCurrencyPrice": 29.76,
"EquivCurrencyPrice": 29.76
}
}
},
"AddOfferItem": [
{
"OfferItemID": "OFFERITEMID1",
"Refundable": "false",
"PassengerType": "ADT",
"PassengerQuantity": 1,
"TotalPriceDetail": {
"TotalAmount": {
"BookingCurrencyPrice": 158.14,
"EquivCurrencyPrice": 158.14
}
},
"Service": [
{
"ServiceID": "SV1",
"PassengerRefs": "ADT1",
"FlightRefs": "Flight1"
}
],
"FareDetail": {
"PassengerRefs": "ADT1",
"Price": {
"TotalAmount": {
"BookingCurrencyPrice": 158.14,
"EquivCurrencyPrice": 158.14
},
"BaseAmount": {
"BookingCurrencyPrice": 92,
"EquivCurrencyPrice": 92
},
"TaxAmount": {
"BookingCurrencyPrice": 66.14,
"EquivCurrencyPrice": 66.14
},
"Commission": {
"AgencyCommission": {
"BookingCurrencyPrice": 0,
"EquivCurrencyPrice": 0
},
"AgencyYqCommission": {
"BookingCurrencyPrice": 0,
"EquivCurrencyPrice": 0
}
},
"BookingFee": {
"BookingCurrencyPrice": 10,
"EquivCurrencyPrice": 10
},
"PortalCharges": {
"Markup": {
"BookingCurrencyPrice": 0,
"EquivCurrencyPrice": 0
},
"Surcharge": {
"BookingCurrencyPrice": 0,
"EquivCurrencyPrice": 0
},
"Discount": {
"BookingCurrencyPrice": 0,
"EquivCurrencyPrice": 0
}
},
"Taxes": [
{
"TaxCode": "YQ",
"BookingCurrencyPrice": 36.28,
"EquivCurrencyPrice": 36.28
},
{
"TaxCode": "YR",
"BookingCurrencyPrice": 3.63,
"EquivCurrencyPrice": 3.63
},
{
"TaxCode": "K3",
"BookingCurrencyPrice": 6.1,
"EquivCurrencyPrice": 6.1
},
{
"TaxCode": "IN",
"BookingCurrencyPrice": 1.36,
"EquivCurrencyPrice": 1.36
},
{
"TaxCode": "ZR",
"BookingCurrencyPrice": 1.65,
"EquivCurrencyPrice": 1.65
},
{
"TaxCode": "P2",
"BookingCurrencyPrice": 17.12,
"EquivCurrencyPrice": 17.12
}
]
}
},
"ReshopDifferential": {
"OriginalOrder": {
"TotalPrice": {
"BookingCurrencyPrice": 128.38,
"EquivCurrencyPrice": 128.38
},
"BasePrice": {
"BookingCurrencyPrice": 63.17,
"EquivCurrencyPrice": 63.17
},
"TaxPrice": {
"BookingCurrencyPrice": 65.21,
"EquivCurrencyPrice": 65.21
}
},
"NewOffer": {
"TotalPrice": {
"BookingCurrencyPrice": 158.14,
"EquivCurrencyPrice": 158.14
},
"BasePrice": {
"BookingCurrencyPrice": 92,
"EquivCurrencyPrice": 92
},
"TaxPrice": {
"BookingCurrencyPrice": 66.14,
"EquivCurrencyPrice": 66.14
}
},
"PenaltyAmount": {
"TotalPrice": {
"BookingCurrencyPrice": 0,
"EquivCurrencyPrice": 0
}
},
"ReshopDue": {
"TotalPrice": {
"BookingCurrencyPrice": 29.76,
"EquivCurrencyPrice": 29.76
}
}
},
"FareComponent": [
{
"PriceClassRef": "PCR_1",
"SegmentRefs": "Segment1 Segment2",
"FareBasis": {
"FareBasisCode": {
"Refs": "FG_1 FG_1",
"Code": "ERH1EY ERH1EY"
},
"RBD": "E E",
"CabinType": "Y Y",
"SeatLeft": "1 1"
}
}
]
}
],
"BaggageAllowance": [
{
"SegmentRefs": "Segment1 Segment2",
"PassengerRefs": "T1",
"BaggageAllowanceRef": "Bag1"
}
],
"BookingToEquivExRate": 1,
"FopRef": "FOP_5_5_17_0_ALL"
}
]
}
],
"DataLists": {
"PassengerList": {
"Passengers": [
{
"PassengerID": "T1",
"PTC": "ADT",
"NameTitle": "Mr",
"FirstName": "downey",
"MiddleName": "",
"LastName": "Robert",
"DocumentNumber": "6073737593222"
}
]
},
"DisclosureList": {
"Disclosures": []
},
"FareList": {
"FareGroup": [
{
"FareGroupRef": "FG_1",
"FareCode": "70J",
"FareBasisCode": "ERH1EY"
}
]
},
"FlightSegmentList": {
"FlightSegment": [
{
"SegmentKey": "Segment1",
"Departure": {
"AirportCode": "MAA",
"Date": "2021-11-28",
"Time": "09:15:00",
"AirportName": "Chennai International Airport",
"Terminal": {
"Name": "4"
}
},
"Arrival": {
"AirportCode": "AUH",
"Date": "2021-11-28",
"Time": "12:20:00",
"AirportName": "Abu Dhabi International Airport",
"Terminal": {
"Name": "1"
}
},
"MarketingCarrier": {
"AirlineID": "EY",
"Name": "Etihad Airways",
"FlightNumber": "239"
},
"OperatingCarrier": {
"AirlineID": "EY",
"Name": "Etihad Airways",
"FlightNumber": "239"
},
"Equipment": {
"AircraftCode": "32A",
"Name": "32A"
},
"Code": {
"MarriageGroup": "O"
},
"FlightDetail": {
"FlightDuration": {
"Value": "4 H 35 M"
},
"Stops": {
"Value": "0"
},
"InterMediate": [],
"AirMilesFlown": 0
},
"BrandId": ""
},
{
"SegmentKey": "Segment2",
"Departure": {
"AirportCode": "AUH",
"Date": "2021-11-28",
"Time": "13:00:00",
"AirportName": "Abu Dhabi International Airport",
"Terminal": {
"Name": "1"
}
},
"Arrival": {
"AirportCode": "XNB",
"Date": "2021-11-28",
"Time": "14:20:00",
"AirportName": "United Arab Emirates",
"Terminal": {
"Name": ""
}
},
"MarketingCarrier": {
"AirlineID": "EY",
"Name": "Etihad Airways",
"FlightNumber": "5422"
},
"OperatingCarrier": {
"AirlineID": "EY",
"Name": "Etihad Airways",
"FlightNumber": "5422"
},
"Equipment": {
"AircraftCode": "BUS",
"Name": "Bus"
},
"Code": {
"MarriageGroup": "I"
},
"FlightDetail": {
"FlightDuration": {
"Value": "1 H 20 M"
},
"Stops": {
"Value": "0"
},
"InterMediate": [],
"AirMilesFlown": 0
},
"BrandId": ""
}
]
},
"FlightList": {
"Flight": [
{
"FlightKey": "Flight1",
"Journey": {
"Time": "6 H 35 M",
"Stops": 1
},
"SegmentReferences": "Segment1 Segment2"
}
]
},
"OriginDestinationList": {
"OriginDestination": [
{
"OriginDestinationKey": "OD1",
"DepartureCode": "MAA",
"ArrivalCode": "XNB",
"FlightReferences": "Flight1"
}
]
},
"PriceClassList": {
"PriceClass": [
{
"PriceClassID": "PCR_1",
"Descriptions": {
"Description": []
}
}
]
},
"BaggageAllowanceList": {
"BaggageAllowance": [
{
"BaggageAllowanceID": "Bag1",
"BaggageCategory": "Checked",
"AllowanceDescription": {
"ApplicableParty": "Traveler",
"Description": "CHECKED ALLOWANCE"
},
"PieceAllowance": {
"ApplicableParty": "Traveler",
"TotalQuantity": "0",
"Unit": "Kg"
}
}
]
},
"FopList": [
{
"CC": {
"Allowed": "Y",
"Types": {
"AX": {
"F": {
"BookingCurrencyPrice": 0,
"EquivCurrencyPrice": 0
},
"P": 0,
"Charges": {
"BookingCurrencyPrice": 0,
"EquivCurrencyPrice": 0
}
},
"MC": {
"F": {
"BookingCurrencyPrice": 0,
"EquivCurrencyPrice": 0
},
"P": 0,
"Charges": {
"BookingCurrencyPrice": 0,
"EquivCurrencyPrice": 0
}
},
"VI": {
"F": {
"BookingCurrencyPrice": 0,
"EquivCurrencyPrice": 0
},
"P": 0,
"Charges": {
"BookingCurrencyPrice": 0,
"EquivCurrencyPrice": 0
}
}
}
},
"DC": {
"Allowed": "Y",
"Types": {
"MC": {
"F": {
"BookingCurrencyPrice": 0,
"EquivCurrencyPrice": 0
},
"P": 0,
"Charges": {
"BookingCurrencyPrice": 0,
"EquivCurrencyPrice": 0
}
},
"VI": {
"F": {
"BookingCurrencyPrice": 0,
"EquivCurrencyPrice": 0
},
"P": 0,
"Charges": {
"BookingCurrencyPrice": 0,
"EquivCurrencyPrice": 0
}
}
}
},
"CASH": {
"Allowed": "Y",
"Types": {}
},
"CHEQUE": {
"Allowed": "Y",
"Types": {}
},
"ACH": {
"Allowed": "Y",
"Types": {}
},
"PG": {
"Allowed": "Y",
"Types": {}
},
"FopKey": "FOP_5_5_17_0_ALL"
}
]
},
"MetaData": {}
}
}