Recent catalogue changes
const url = 'https://api.avtopodatki.si/v1/catalog/changes?change_type=price&direction=any&offset=0&with_total=true';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://api.avtopodatki.si/v1/catalog/changes?change_type=price&direction=any&offset=0&with_total=true' \ --header 'Authorization: Bearer <token>'Price changes and added or withdrawn variants across the catalogue, newest first.
The catalogue is updated monthly, so price changes only appear once a price has differed between two updates. An empty result is normal early on.
Requires the catalog.changes permission.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”price, or availability for added and withdrawn variants.
price, or availability for added and withdrawn variants.
up, down or any. Price changes only.
up, down or any. Price changes only.
Repeat to match several.
Repeat to match several.
Results to skip.
Results to skip.
Include the total count. Set false for faster responses.
Include the total count. Set false for faster responses.
Responses
Section titled “Responses”Successful Response
object
One change, with its brand, model and variant.
object
price, or availability for added or withdrawn.
Example
{ "items": [ { "change_type": "price" } ]}Validation Error
object
object
object
Example generated
{ "detail": [ { "loc": [ "example" ], "msg": "example", "type": "example", "input": "example", "ctx": {} } ]}