Location
A location.
type Location {
address: String!
brand: Brand!
city: String!
country: String!
googlePlacesId: String
hasLinkedCard: Boolean!
id: ID!
latitude: Float!
longitude: Float!
mapImage(
size: String
zoom: Int
scale: Int
): String!
merchant: Merchant!
metaInfo: LocationMetaInfo
name: String!
phoneNumber: String
postalCode: String!
province: String!
sponsored: Boolean!
street1: String!
street2: String
yelpId: String
}
Fields
Location.address ● String! non-null scalar
Location's Full Address
Location.brand ● Brand! non-null object
Brand for this location
Location.city ● String! non-null scalar
Location's City
Location.country ● String! non-null scalar
Location's Canada
Location.googlePlacesId ● String scalar
Location's Google Places ID
Location.hasLinkedCard ● Boolean! non-null scalar
Location has a linked card
Location.id ● ID! non-null scalar
Location's ID
Location.latitude ● Float! non-null scalar
Latitude
Location.longitude ● Float! non-null scalar
Longitude
Location.mapImage ● String! non-null scalar
Location.mapImage.size●StringscalarSize of the map image, default: '600x300'
Location.mapImage.zoom ● Int scalar
Location.mapImage.scale ● Int scalar
Scale of map image, default: 1
Location.merchant ● Merchant! non-null object
Merchant for this location
Location.metaInfo ● LocationMetaInfo object
Location's Meta Info
Location.name ● String! non-null scalar
Location's Name
Location.phoneNumber ● String scalar
Location's phone number
Location.postalCode ● String! non-null scalar
Location's Postal Code / Zip Code
Location.province ● String! non-null scalar
Location's Province / State
Location.sponsored ● Boolean! non-null scalar
Is this a sponsored location for nearby results
Location.street1 ● String! non-null scalar
Location's Street 1
Location.street2 ● String scalar
Location's Street 2
Location.yelpId ● String scalar
Location's Yelp ID
Member of
Brand object ● Event object ● Link object ● LocationEdge object ● LocationMapSearchPayload object