Find closest stock image set by attribute match score
GET
/api/v1/stock_image_sets/find_closest
const url = 'https://dashboard.dealerstudio.com.au/api/v1/stock_image_sets/find_closest';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/stock_image_sets/find_closest \ --header 'Authorization: Bearer <token>'Returns the closest matching stock image set(s) by scoring +1 for each attribute that matches. Provide any combination of attributes; at least one is required. Results ordered by match_score descending.
Rate limit: 5 requests per minute per API key (Bearer token). Excess requests receive HTTP 503.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters ” manufacturer_id
integer
Manufacturer ID (make)
family_id
integer
Family ID (model/series)
make
string
Manufacturer name (resolved to ID)
model
string
Family name (resolved to ID)
series
string
Family name alias
year
integer
badge
string
body
string
bodyconfiguration
string
bodystyle
string
colour
string
doors
integer
modelyear
string
wheelbaseconfiguration
string
limit
integer
Max results (1–50, default 1)
Responses
Section titled “ Responses ”Empty list when no params given