Search By Coordinates
This function will query our retail locations data base using lat/long coordinates to center the search.
Path
Method
Required Parameters
- lat
- long
- radius (radius of search in miles, 200 miles max)
- brand_id (find this id from the brands API call)
- type ('onpremise', 'offpremise', or 'both')
- site_id (get this from B-F IT)
Optional Parameters
- minor_brand_id (find this id from the brands API call)
- promotion_id (filter to locations involved in a specific promotion)
Responses
- 200 OK
- 422 (Unprocessable Entity)
- Error message in JSON response
- 500
- Something has gone horribly wrong, please let us know.