Show Website Offer
GET
/websites/{website_id}/offers/{id}.json
const url = 'https://dashboard.dealerstudio.com.au/websites/example/offers/example.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/websites/example/offers/example.json \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”website_id
required
string
Website ID
id
required
string
Offer ID
Responses
Section titled “Responses”Show Website offer
Media typeapplication/json
Examples
Examplesuccess
{ "id": 113, "manufacturer_id": 15, "disclaimer": null, "name": "Cool Offer", "expires_at": "2025-01-10", "created_at": "2025-01-08T10:56:22.000Z", "updated_at": "2025-01-08T10:56:22.354Z", "category": "New vehicle offer", "sanitized_description": "", "description": "", "manufacturer": "Ferrari", "expiry_in_words": "3 days", "model": { "name": "Corolla", "slug": "models/corolla", "new_slug": "models/corolla", "path": "models/corolla", "override_url": null }, "price": null, "price_type": null, "price_footnote": null, "model_variant": null, "dealership_ids": [], "preferred_locations": [ { "id": 7, "name": "Harber-Cormier" } ]}