Events
Action
Guest Search

Search/Guest

Triggered when a user initiates an availability search on a selected hotel.

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

SearchParameters

Search parameters provided by the user during the booking process.

Type: SearchParameters