List dealerships
GET
/api/v1/dealerships
const url = 'https://dashboard.dealerstudio.com.au/api/v1/dealerships';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 \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters ” search
string
Search
page
integer
Page
per_page
integer
Per page
Responses
Section titled “ Responses ”Dealership found
Media type application/json
Examples
Example example_0
{ "id": 1, "name": "ABC Motors", "slug": "abc-motors"}Unauthorized - No token