List dealership locations
GET
/api/v1/dealerships/{dealership_slug}/locations
const url = 'https://dashboard.dealerstudio.com.au/api/v1/dealerships/example/locations';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://dashboard.dealerstudio.com.au/api/v1/dealerships/example/locations \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” dealership_slug
required
string
Dealership Slug
Responses
Section titled “ Responses ”Locations found
Unauthorized
Forbidden
Dealership not found