Deprecation Notice: Removal of Infants and Migration to Children Ages

8th Aug 2025

Impact Level: Medium
Reason for Deprecation: To simplify the API and provide more flexibility in handling children of all ages, we are consolidating the handling of infants and children under a single children_ages parameter. This provides a more consistent and flexible way to specify ages of all children.

Timeline: - Deprecation Notice: August 8, 2025 - End of Support: December, 2025 - Removal: v4.0 (Q2 2026)

Migration Guide: Infants to Children Ages

Before (Deprecated)

{
  "adults": 2,
  "no_of_infants": 1,
  "children_ages": [5, 7]
}
{
  "adults": 2,
  "children_ages": [1, 1, 4]
}

Key Changes

  1. Consolidated Parameters: The infants count and children count have been merged into a single children_ages array
  2. Age Representation: Infants should be represented as 1 in the children_ages array

Migration Steps

  1. Update Search Requests:
  2. Remove infants and children parameters
  3. Create a single children_ages array including all children's ages (1 for infants)
  4. Example: "children_ages": [1, 1, 4] for 2 infants and 1 child aged 4

  5. Update Booking Requests:

  6. Include all children (including infants) in the children_ages array
  7. Ensure the length of children_ages matches the number of children (including infants)

  8. Update Response Handling:

  9. Process the children_ages array for all child-related information
  10. The system will no longer return separate infants and children counts in responses