HOTELS

The objective of this document is to describe the hotel search flow.

Specific Information

  • The search must include at least one bedroom and one adult.
  • Any stay must have a minimum of one day, subject to availability.
  • The maximum amount of days per stay is set to 30 days by default.
  • The minimum notice period is adjustable, but there is no minimum period set by default.
  • The maximum notice period is adjustable, but it defaults to 540 days.
  • You can only book up to 4 rooms per request.
  • The maximum occupancy per room, including adults and children, is 8 people.
  • Children's ages need to be specified.
  • The number of hotels entered for the search must not exceed 100 hotels, but 50 hotels per request are recommended.

Api Services

SectionDescription
Static ContentIncludes all details related to static data for accommodations
SearchSplit into separate files for every vertical (e.g., flights, hotels, etc.), given the differences in search functionality by product.

Flow

sequenceDiagram

		Actor Partner
    participant Availability as /Availability
    participant BookingFlow

    Partner->>Availability: Array hotels
    Availability-->>Partner: Bulk Availability
    Partner->>Availability: hotel_id
    Availability-->>Partner: Detail info

    Partner->>BookingFlow: choice_id