Change | ConfirmChange

Finalizes the change process. By calling this endpoint, you officially accept the change quote and authorize the system to proceed with ticket reissuance and any required payment.
Irreversibility: Once a change is confirmed, the action cannot be undone via this endpoint. Any further adjustments will require a new change request.

Notice:
Product Scope: FareMarket and TechHub
Timeout & Expiration Logic :* Time-Critical: The change quote (generated by SubmitChange) has a strict validity window.

POST

/flight/change

Parameter

Field Mandatory Type Scope Description
action required String ConfirmChange
key required String API security key applied from AeroHub.
signature required String Refer to the Guidelines for generation.
timestamp required Int The ‘timestamp’ field should be a 10-digit Unix timestamp in seconds, used for encryption and data verification.
version optional String API version information, e.g. “3.2.0”.
request required Object
  changeNum required String change order number generated by API “SubmitChange”.

Request_Example:

{
  "action": "ConfirmChange",
  "key": "n93mPT7WzN6cLKC2",
  "signature": "YhQ2EoBQOfOnf/EOnuuuK5i+K+ncydeQhjFpoXYiEMo=",
  "timestamp": 1685116516,
  "request": {
    "changeNum":"C20241018101144760"
  }
}

Response

Field Type Description
status Int 0: Succeeded
Others: Failed
Refer to “Status Code” below for details.
msg String Return message, maximum 64 characters.
changeNum String change Order Number generated by Aerohub.

Success-Response:

{
    "action": "ConfirmChange",
      "key": "n93mPT7WzN6cLKC5",
      "signature": "YhQ2EoBQOfOnf/EOnuuuK5i+K+ncydeQhjFpoxYiEMo=",
      "timestamp": 1685116518,
    "request": {
        "changeNum": "C20241018101144760"
    }
}

Status Code

Name Description
7704 The change ID does not exist.
7705 The current state does not allow confirm.
7706 Insufficient account balance.
7707 Confirm failed.

Error-Response

{
    "status": 1000,
    "msg": "General system error"
}
Author:SunKang  Create time:2024-11-18 17:27
Last editor:AeroHub  Update time:2026-03-19 18:06