OrderReshop
Modified on: 2025-11-06 14:59
TABLE OF CONTENTS
OrderReshop
| Version | Date | Description of Edit |
|---|---|---|
| V1.0 | 2025/10/22 | Initial Commit |
| Request Details | |
|---|---|
| Path | /api/flight/connectivity/order/orderReshop |
Request Payload Example
Request Payload Example
{
"order": {
"supplierOrderId": "917603570358296701",
"gdnOrderId": ""
},
"changeFlightRequests": [
{
"journeySequence": 1,
"cabinClass": "4",
"currency": "CNY",
"arrivalInfo": {
"iataLocationCode": "KUL",
"type": "airportcode"
},
"departureInfo": {
"iataLocationCode": "PNH",
"departureDate": "2025-12-27",
"type": "airportcode"
}
},
{
"journeySequence": 2,
"cabinClass": "4",
"currency": "USB",
"arrivalInfo": {
"iataLocationCode": "PNH",
"type": "airportcode"
},
"departureInfo": {
"iataLocationCode": "KUL",
"departureDate": "2025-12-31",
"type": "airportcode"
}
}
],
"flightCriteria": {
"flightType": 1
}
}Request Payload Structure
| Key | Parent | Type | Mandatory/Optional | Description |
|---|---|---|---|---|
| order | root | Object | M | |
| supplierOrderId | order | String | M | |
| gdnOrderId | order | String | O | |
| changeFlightRequest | root | Object | M | |
| journeySequence | changeFlightRequest | Int | M | The sequence number of the journey to be changed within the original order.
|
| departureInfo | flightRequests | Object | M | An object containing departure information for the search |
| iataLocationCode | departureInfo | String | M | 3 uppercase letters |
| type | departureInfo | String | O |
|
| departureDate | departureInfo | String | M | YYYY-MM-DD |
| arrivalInfo | flightRequests | Object | M | An object containing arrival information for the search |
| iataLocationCode | arrivalInfo | String | M | 3 uppercase letters |
| type | arrivalInfo | String | O |
|
| arrivalDate | arrivalInfo | String | M | YYYY-MM-DD |
| cabinClass | flightRequests | Int | O | If empty, default will search for the same cabin class as the original booking for that trip. |
| flightCriteria | root | Object | O | This node allows to specify flight type preference for filtering results. |
| flightType | flightCriteria | Int | O |
|
| paxList | root | Array | O | Specifies the list of passenger indices (paxIndex) from the original booking who will be included in the change request. If this field is left empty, the change will apply to all passengers in the order by default. |
| paxIndex | paxList | Int | M | The index number of the passenger was returned in the paxList array by the orderRetrieve. This value uniquely identifies a passenger within the order. |
Response Schema
| Key | Parent | Type | Mandatory/Optional | Description |
|---|---|---|---|---|
| reshopResults | root | Array | O | |
| tripsInfo | searchResults | Object | M | |
| tripKey | tripsInfo | String | M | |
| onwardTrip | tripsInfo | Object | M | |
| flightType | onwardTrip | Int | M |
|
| segmentInfos | onwardTrip | Array | M | segment information list |
| returnTrip | tripsInfo | Object | O | |
| airlineOffer | searchResults | Object | M | |
| offers | airlineOffer | Array | M | |
| supplier | offers | Object | O | |
| offerId | offers | String | M | |
| transInfo | offers | String | M | |
| refTripKey | offers | String | M | |
| brandFareName | offers | String | O | |
| brandFareUrl | offers | String | O | |
| availableCount | offers | Int | O | |
| cabinClass | offers | Int | M |
|
| totalPrice | offers | Object | M | |
| totalAmount | totalPrice | String | M | |
| totalBaseAmount | totalPrice | String | M | |
| totalTaxFeeAmount | totalPrice | String | M | |
| taxFeeDetail | totalPrice | Array | O | |
| totalServiceFeeAmount | totalPrice | String | O | |
| serviceFeeDetail | totalPrice | Array | O | |
| code | serviceFeeDetail | String | O | All service fees related to flight booking - including those charged by non-airline suppliers, DerbySoft. |
| amount | serviceFeeDetail | String | O | |
| currency | totalPrice | String | M | |
| passengerFares | offers | Array | M | |
| paxType | passengerFares | String | M | |
| price | passengerFares | Object | O | |
| fareComponents | passengerFares | Array | M | |
| onwardTrip | fareComponents | Object | M | |
| segmentInfos | onwardTrip | Array | M | |
| conditions | onwardTrip | Array | O | |
| freeServices | onwardTrip | Array | O | |
| freeBaggages | onwardTrip | Array | O | |
| returnTrip | fareComponents | Object | M | |
| error | root | Object | O |
- Each search result consists of two primary components: the trip information (tripinfo) and the available change offers (offers).
- Trip Information (tripinfo)
The tripinfo section contains the detailed itinerary for an available change flight. This includes: departure and arrival times, flight numbers, marketing carrier, operating carrier, aircraft type, journey duration, and stopover information. - Change Offers (offers)
The offers section provides the comprehensive pricing for changing to this specific itinerary. This includes: total price for the new itinerary (note: this is the full price of the new flight itinerary, not the net change fee or amount to be paid)
- Trip Information (tripinfo)
- OfferID Persistence
- The offerId within the offer object is a mandatory unique identifier for this specific change offer.
- You must store this value. It is a required reference key for subsequent API calls in the change flow, specifically the OfferPrice (optional for re-pricing) and OrderChange requests, to uniquely identify the chosen change option.
Important Note: The price displayed in this offer represents the complete price of the new itinerary only. This is NOT the actual change fee or the net amount payable for the modification.To obtain the accurate change fee and the exact amount payable for the rescheduling operation, you must call the orderReshopReprice interface. The orderReshopReprice interface will calculate and return the precise net change amount by comparing the new itinerary price with the original booking value and applying the relevant change policies, fees, and any applicable refunds or additional charges.
Did you find it helpful? Yes No
Send feedbackSorry we couldn't be helpful. Help us improve this article with your feedback.