Skip to main content

Add Infant

Add one or more infants to an existing booking.


Endpoint​

  • URL: /api/v1/flight/infant
  • Method: POST
  • Auth Required: Yes (Bearer Token/X-api-key)
  • Content-Type: application/json

Authentication​

This endpoint requires a valid JWT Bearer token in the Authorization header:

Authorization: Bearer <access_token>

Obtain tokens via /api/v1/sign-in (POST) with your credentials.


Request Structure​

FieldTypeRequiredDescription
systemstringYesBooking system code (e.g., VN, VJ, 1A)
bookingCodestringYesBooking code (PNR)
infantsarray of PassengerInfantNoList of infants to add to the booking

PassengerInfant Object​

FieldTypeRequiredDescription
indexintegerNoPassenger order
parentIdstringNoAdult passenger ID that the infant accompanies
givenNamestringNoGiven name
surnamestringNoSurname
genderbooleanNoGender
dateOfBirthstringNoDate of birth (date format)
titlestringNoTitle (MR/MRS/MS/MSTR)
phonestringNoPhone number
emailstringNoEmail address
documentobjectNoDocument information (see Passenger Info Object)

Sample Request:

{
"system": "VN",
"bookingCode": "ABC123",
"infants": [
{
"index": 1,
"parentId": "ADT001",
"givenName": "Baby",
"surname": "Nguyen",
"dateOfBirth": "2023-01-01",
"gender": true,
"title": "MSTR"
}
]
}

Request Constraints & Business Rules​

  • bookingCode must refer to an existing, valid booking.
  • Only valid infants (per airline rules) can be added.
  • Infants must be associated with an adult passenger.
  • If infant document is provided, type (DocumentType), number, surName, givenName, and expiryDate are required.
  • If infant document.type is I, expiryDate is optional.

Response Structure​

FieldTypeNullableDescription
systemstringYesName of the airline system
statusbooleanNotrue if successful, false if failed
errorErrorCode (object)YesError details (if any)
descriptionstringYesError description (if any)
trackingIdstringYesTracking ID for request logs
trackingTimestring (date-time)YesTime for request tracking

Sample Response:

{
"system": "VN",
"status": true,
"error": null,
"description": null,
"trackingId": "abc123",
"trackingTime": "2025-07-01T07:00:00.000Z"
}

Error Codes​

This endpoint may return the following error codes:

For a complete list of error codes, see Error Codes.


Security & Validation​

  • All input is validated for type and required fields.
  • Only authenticated users can access this endpoint.
  • The endpoint is protected against tampering with bookingCode and infant data.

Validation Questions​

  • Are there limits on the number of infants per booking?
  • Are there age or documentation requirements for infants?

For integration support, see Contact Support.