List Offers
GET
/manufacturers/{id}/offers.json
const url = 'https://dashboard.dealerstudio.com.au/manufacturers/example/offers.json';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/manufacturers/example/offers.json \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” id
required
string
Manufacturer ID
Responses
Section titled “ Responses ”Show offers with model image
Media type application/json
Examples
Example success
[ { "id": 33370, "manufacturer_id": 1, "disclaimer": "*Driveaway pricing is valid for new stock vehicles purchased an...", "name": "Test Offer", "expires_at": "2024-01-31", "created_at": "2023-11-01T08:11:00.504Z", "updated_at": "2023-11-01T08:11:00.504Z", "images": [], "sanitized_description": " From <strong>$34,990 </strong>Driveaway for ABN holders*<br> <strong>FEATURES</strong><br><br> <ul> <li>6-Speed Manual (Optional 8-Speed Auto Available)</li> <li>2.0L Bi-Turbo Diesel Engine - 160kW & 500Nm</li></ul>", "description": "<div class=\\\"trix-content\\\">\\n <div>From <strong>$34,990 </strong>Driveaway for ABN holders*</div><div><br></div><div>\\n<strong>FEATURES</strong><br><br>\\n</div><ul>", "manufacturer": "LDV", "expiry_in_words": "about 19 hours", "model": { "name": "T60 MAX Ute", "slug": "models/t60-max-ute", "new_slug": "models/t60-max-ute", "path": "models/t60-max-ute" }, "dealership_ids": [ 1, 2, 6, 34 ], "image_or_model_image": { "url": "https://res.cloudinary.com/total-dealer/image/fetch/https://cricksapi.s3.ap-southeast-2.amazonaws.com/uploads/offer/image/33370/hJfBNBTGoYMWK4NVjeAPJ99X.jpg", "thumb": { "url": "\"https://res.cloudinary.com/total-dealer/image/fetch/https://cricksapi.s3.ap-southeast-2.amazonaws.com/uploads/offer/image/33370/hJfBNBTGoYMWK4NVjeAPJ99X.jpg" } } }]