UpdateAncillaryOrder

  • Purpose: Used by suppliers to notify AeroHub of ticketing information and complete ticketing
  • Request: POST
  • Encryption: No
  • FareMarket address:/supplier/v1/api/update_ancillary_order

Request

Parameter Name Type Required Description
apiKey string ✅ Each supplier has its own unique apiKey, which is used to indicate the supplier’s identity. AeroHub provides it to the supplier before interface testing.
requestId string ✅ Request ID, which is unique for each call in the ticket issuance process and has a length of 32 digits.
ancillaryOrderNo string ✅ The auxiliary order number of AeroHub corresponds to the ancillaryOrderNo when requesting the AncillaryOrderList interface.
supplierAncillaryOrderNo string ✅ Supplier’s auxiliary order number
ancillaryOrderStatus string ✅ The status of the order that needs to be updated, ISSUED: Completed, REJECTED: Rejected (indicates that the ticket failed and the rejected order was cancelled)
reason string ⬜ Reason for order rejection, must be filled in when orderStatus is assigned the value REJECTED

Sample Request

Ticket issuance request successful

{
    "apiKey": "PcrNq8964iFUkE0CyVV4bhgXXX",
    "requestId": "B2B171eAv8YTQ",
    "ancillaryOrderNo": "F1745553257834618888",
    "supplierAncillaryOrderNo":"123123123111111",
    "ancillaryOrderStatus": "REJECTED",
    "reason": "Airline website error"
}

Response

Parameter Name Type Required Description
code int ✅ For the status code of AeroHub, refer to Market Errors in the general instructions.
msg string ✅ For AeroHub error instructions, refer to Market Errors in General Instructions.

Response Example

Success Response:

{
    "code": 200,
    "msg": "Successful"
}

Error Response

{
    "code": 400,
    "msg": "Failed"
}

Things to note

  • When encountering the returned JSON data code When not equal to 200 or the HTTP status code is non-200, the provider needs to retry the call to ensure successful processing of the request.
Author:AeroHub  Create time:2024-03-13 10:19
Last editor:AeroHub  Update time:2026-10-20 11:28