InBe Docs

Location Properties

Use the establishmentFilters array for granular control over venue properties

The establishmentFilters array lets you specify exact requirements of a venue that your users are looking for. This may be finding a place that is good for watching a game, or a place that is good for a family dinner, or a date night.

Basic usage

Basic establishment filter
preferences: {
  establishmentFilters: ["goodForWatchingSports"];
}

Establishment filters

You can specify one or more establishment filters, and the returned results will be sorted by how well they match the filters. Results that match more filters will be ranked higher then those that match fewer filters.

Establishment filters

FilterDescription
airConditionedWhether the venue is air conditioned
allowsDogsWhether the venue allows dogs
deliveryWhether the venue offers delivery
dineInWhether the venue offers dine-in
freeWifiWhether the venue offers free wifi
goodForChildrenWhether the venue is good for children
goodForGroupsWhether the venue is good for groups
goodForWatchingSportsWhether the venue is good for watching sports
liveMusicWhether the venue has live music
menuForChildrenWhether the venue has a menu for children
outdoorSeatingWhether the venue has outdoor seating
restroomWhether the venue has a restroom
servesAlcoholFreeWhether the venue serves alcohol-free drinks
servesBeerWhether the venue serves beer
servesBreakfastWhether the venue serves breakfast
servesBrunchWhether the venue serves brunch
servesCocktailsWhether the venue serves cocktails
servesCoffeeWhether the venue serves coffee
servesDessertWhether the venue serves dessert
servesDinnerWhether the venue serves dinner
servesLunchWhether the venue serves lunch
servesWineWhether the venue serves wine
takeoutWhether the venue offers takeout
goodForWorkingWhether the venue is good for working
goodForMeetingWhether the venue is good for meetings
goodForDateWhether the venue is good for dates
goodForFamilyWhether the venue is good for families
privateEventsWhether the venue caters for private events
privateDiningWhether the venue caters for private dining
counterDiningWhether the venue has counter dining

Real-world examples

  preferences: {
    establishmentFilters: ["cafe", "goodForWorking"],
}

Best practice

  • Combine with other preferences: Use establishment types with dietary needs, atmosphere, etc.

Next steps

On this page