Event System
Action
Guest Search

Search/Guest

Triggered when a user issues a search rooms on a selected hotel.

roomstay.events.on('Search/Guest', (event: GuestSearchEvent) => {
  console.log(`Current search completed has the following details: ${event.SearchParameters}`)
})

SearchParameters

Search parameters provided by the user during the booking process.

Type: SearchParameters