Locations
List Locations
Retrieve dealer locations within your access scope
GET
List Locations
Retrieve dealer locations within your partner access scope. Supports hierarchical queries and optional listing counts.Query Parameters
Filter to locations under this parent profile UUID. Alias:
parent_idInclude child locations in the result set
Include listing counts per location
Search by name, city, province, or location code
Response
Location Response Field Names
| Field | Description |
|---|---|
id | Location profile UUID |
parentId | Parent location UUID |
isRoot | Whether this location is in the partner root scope |
locationCode | Unique location code |
companyName | Company name |
fullName | Full profile name |
displayName | Display name |
email | Contact email |
phone | Contact phone |
address | Street address |
postalCode | Postal code |
city | City |
province | Province |
logoUrl | Logo URL |
metadata | Location metadata |
parent.id | Parent profile UUID |
parent.locationCode | Parent location code |
parent.companyName | Parent company name |
parent.fullName | Parent full name |
parent.displayName | Parent display name |
stats.activeListings | Active listing count |
stats.totalListings | Total listing count |
stats.avgActivePrevMonth | Average active listings previous month, when available |
updatedAt | ISO 8601 last update timestamp |
meta.total | Number of returned locations |
meta.profileIds | Effective profile IDs in response scope |
meta.rootProfileIds | Partner root profile IDs, when available |
meta.filters.parentId | Applied parent filter |
meta.filters.search | Applied search filter |
meta.partner | Partner metadata |
Array of location objects
Request metadata including partner info
Error Responses
| Status | Code | Description |
|---|---|---|
| 401 | UNAUTHORIZED | Invalid or missing API key |
| 500 | SERVER_ERROR | Failed to load locations |