Skip to main content

Rooms configuration

All API endpoints support a rooms query parameter. This parameter encodes the configuration of rooms requested by the user using the following rules:

  • Rooms are separated by pipe |
  • Adults and children are separated by colon :
  • Children ages are separated by comma ,

Maximum number of adults per room - 14. Maximum number of children per room - 20.

Examples

  • 1:4,6|3 → Two rooms, one with one adult and two children ages four and six and the other with three adults and no children
  • 3 → One room with three adults and no children
  • 2:4 → One room with two adults and one child aged four
  • 1:0,13,16 → One room with one adult and three children (aged zero, thirteen and sixteen)