Retrieve Locations

GET /locations

Retrieve your account locations

Responses

GET /locations
curl \
 -X GET https://{workspace}.fleetrunnr.com/api/v1/locations \
 -H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "message": "success",
  "data": {
    "locations": [
      {
        "uuid": "27df9695-5565-4091-b888-ca321b8566ff",
        "external_id": "12hh",
        "name": "Main Warehouse",
        "line_1": "2313 Retreat Avenue",
        "line_2": "Ste 300",
        "city": "Birmingham",
        "region": "Alabama",
        "country": "US",
        "zip_code": "35203",
        "coordinates": {
          "lat": 33.527805,
          "lng": -86.768112
        }
      }
    ]
  }
}