FlightRoutes24 API(Purchaser)
  1. FR24_API_V1.1.0
FlightRoutes24 API(Purchaser)
  • FR24_API_V1.1.0
    • API Work Flow
    • Introduction
    • Appendix
    • 错误码
    • Error Code
    • Shopping
      POST
    • Pricing
      POST
    • PresaleAncillaryShopping
      POST
    • Booking
      POST
    • Ticketing
      POST
    • OrderDetail
      POST
    • PostsaleAncillaryShopping
      POST
    • AncillaryBooking
      POST
    • AncillaryPurchase
      POST
    • AncillaryOrderDetail
      POST
    • ChangeReshop
      POST
    • ReissueRequest
      POST
    • RefundRequest
      POST
    • RefundConfirming
      POST
    • VoidRequest
      POST
  1. FR24_API_V1.1.0

ChangeReshop

POST
/api/new/changeReshop.do
Calling changeReshop to get offers in case the client wants to change date/time, change route or cabin of a confirmed booking. Client will get offers in the response of changeReshop.
Note: Rerouting enables customers to make changes to the same origin and destination airports.

Request

Header Params

Body Params application/json

Example
{
    "authentication": {
        "sign": "{{sign}}",
        "timestamp": "{{timestamp}}"
    },
    "orderNo": "17982000496513024",
    "originalSegments": [
        {
            "carrier": "FD",
            "flightNo": "2271",
            "depTime": "2024-11-17T03:18"
        }
    ],
    "newLegs": [
        {
            "origin": "SIN",
            "destination": "BKK",
            "depDate": "2024-10-28"
        }
    ],
    "adultNum": 1,
    "childNum": 0,
    "infantNum": 0,
    "preferences": {
        "cabin": ""
    }
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://flight-test.flightroutes24.com/api/new/changeReshop.do' \
--header 'Accept-Encoding;' \
--header 'appKey;' \
--header 'content-Type: application/json' \
--data-raw '{
    "authentication": {
        "sign": "",
        "timestamp": ""
    },
    "orderNo": "17982000496513024",
    "originalSegments": [
        {
            "carrier": "FD",
            "flightNo": "2271",
            "depTime": "2024-11-17T03:18"
        }
    ],
    "newLegs": [
        {
            "origin": "SIN",
            "destination": "BKK",
            "depDate": "2024-10-28"
        }
    ],
    "adultNum": 1,
    "childNum": 0,
    "infantNum": 0,
    "preferences": {
        "cabin": ""
    }
}'

Responses

🟢200OK
application/json
Body

Example
{
    "traceId": "NEWAPI24093012243037607740",
    "code": "000000",
    "message": "ok",
    "processingTime": 744,
    "data": {
        "segments": [
            {
                "segmentId": "843890b227ac8f520f821e62e91111e2",
                "duration": 1164,
                "carrier": "TR",
                "flightNo": "2846",
                "codeShare": false,
                "operatingCarrier": "TR",
                "operatingFlightNo": "TR2846",
                "aircraftCode": "波音747",
                "depAirport": "XSP",
                "depTerminal": "T1",
                "depTime": "2024-10-28T05:56",
                "arrAirport": "BKK",
                "arrTerminal": "T2",
                "arrTime": "2024-10-29T01:20",
                "stopAirport": null,
                "stopDuration": null
            },
            {
                "segmentId": "a2601539d6d3264458d78a2600590565",
                "duration": 1536,
                "carrier": "SQ",
                "flightNo": "6518",
                "codeShare": false,
                "operatingCarrier": "SQ",
                "operatingFlightNo": "SQ6518",
                "aircraftCode": "空客A300",
                "depAirport": "SIN",
                "depTerminal": "T1",
                "depTime": "2024-10-28T14:47",
                "arrAirport": "BKK",
                "arrTerminal": "T2",
                "arrTime": "2024-10-29T16:23",
                "stopAirport": null,
                "stopDuration": null
            },
            {
                "segmentId": "211faef632a6906f22448e3518fc3709",
                "duration": 1356,
                "carrier": "MI",
                "flightNo": "6303",
                "codeShare": false,
                "operatingCarrier": "MI",
                "operatingFlightNo": "MI6303",
                "aircraftCode": "空客A300",
                "depAirport": "XSP",
                "depTerminal": "T1",
                "depTime": "2024-10-28T10:43",
                "arrAirport": "BKK",
                "arrTerminal": "T2",
                "arrTime": "2024-10-29T09:19",
                "stopAirport": null,
                "stopDuration": null
            }
        ],
        "offers": [
            {
                "offerId": null,
                "currency": null,
                "legs": [
                    {
                        "legId": null,
                        "segmentIds": [
                            "843890b227ac8f520f821e62e91111e2"
                        ]
                    },
                    {
                        "legId": null,
                        "segmentIds": [
                            "a2601539d6d3264458d78a2600590565"
                        ]
                    },
                    {
                        "legId": null,
                        "segmentIds": [
                            "211faef632a6906f22448e3518fc3709"
                        ]
                    }
                ],
                "changeFee": null,
                "cabin": null,
                "rbd": null
            }
        ]
    }
}
Modified at 2025-04-17 06:24:00
Previous
AncillaryOrderDetail
Next
ReissueRequest
Built with