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)
After (Recommended)
Key Changes
- Consolidated Parameters: The
infantscount andchildrencount have been merged into a singlechildren_agesarray - Age Representation: Infants should be represented as
1in thechildren_agesarray
Migration Steps
- Update Search Requests:
- Remove
infantsandchildrenparameters - Create a single
children_agesarray including all children's ages (1 for infants) -
Example:
"children_ages": [1, 1, 4]for 2 infants and 1 child aged 4 -
Update Booking Requests:
- Include all children (including infants) in the
children_agesarray -
Ensure the length of
children_agesmatches the number of children (including infants) -
Update Response Handling:
- Process the
children_agesarray for all child-related information - The system will no longer return separate
infantsandchildrencounts in responses