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
| Field | Type | Required | Description |
|---|---|---|---|
| system | string | No | Booking system code (e.g., VN, VJ, 1A) |
| bookingCode | string | No | Booking code (PNR) |
| infants | array of PassengerInfant | No | List of infants to add to the booking |
PassengerInfant Object
| Field | Type | Required | Description |
|---|---|---|---|
| index | integer | No | Passenger order |
| parentId | string | No | Adult passenger ID that the infant accompanies |
| givenName | string | No | Given name |
| surname | string | No | Surname |
| gender | boolean | No | Gender |
| dateOfBirth | string | No | Date of birth (date format) |
| title | string | No | Title (MR/MRS/MS/MSTR) |
| phone | string | No | Phone number |
| string | No | Email address | |
| document | object | No | Document information (see Passport) |
Example 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
bookingCodemust refer to an existing, valid booking.- Only valid infants (per airline rules) can be added.
- Infants must be associated with an adult passenger.
Response Structure
| Field | Type | Nullable | Description |
|---|---|---|---|
| system | string | Yes | Name of the airline system |
| status | boolean | No | true if successful, false if failed |
| error | ErrorCode (object) | Yes | Error details (if any) |
| description | string | Yes | Error description (if any) |
| trackingId | string | Yes | Tracking ID for request logs |
| trackingTime | string (date-time) | Yes | Time for request tracking |
Example Response:
{
"system": "VN",
"status": true,
"error": null,
"description": null,
"trackingId": "abc123",
"trackingTime": "2025-07-01T07:00:00.000Z"
}
Error Codes
See Error Codes for details on possible error responses.
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
bookingCodeand 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.