Dealer stock feed — integration guide
Forward this page to your dealer management system (DMS) provider. It describes everything they need to keep your stock on our site up to date automatically. Most providers already export feeds like this for other marketplaces, so for them it's a routine request.
How to deliver stock
Pull (recommended). Publish your stock file at a fixed URL (HTTPS). We fetch it automatically on a schedule. Give us the URL in your dealer dashboard under "Connect your stock". If the URL needs an Authorization header, tell us and we'll add it.
Push (coming soon). Direct push delivery is on the way — for now, please publish the stock file at a URL and we'll pull it on a schedule.
File format
XML: one root element wrapping repeated record tags — any tag name works (<vehicle>, <stock>, <car>…). Child tags are fields, repeated tags become lists, and attributes are read too (<image url="…"/>). CDATA and comments are supported. JSON: an array of objects (or { "vehicles": [...] }), one per vehicle. CSV: UTF-8, one header row, one row per vehicle, quoted fields supported; lists pipe-separated (|).
Column names are flexible — we auto-recognise common names (stockref, VRM, odometer, etc.) and your dashboard can map custom names if yours differ. Unrecognised columns are kept on the listing rather than dropped.
Fields
* These are the recommended fields — a missing value never rejects the record or blocks publishing, it is just flagged as incomplete (see below). Only stock_ref is a hard requirement.
| Field | Required | Notes |
|---|---|---|
| stock_ref | yes | Your unique stock/reference number — used to match rows on each sync. Also accepted: ref, id, sku, reg_number |
| vehicle_type | yes | 'car' (cars only — motorcycles are paused on the site) |
| make | yes* | e.g. Ford |
| model | yes* | e.g. Focus |
| year | yes* | 4-digit year |
| price | yes* | GBP, numeric |
| mileage | yes* | Numeric miles |
| engine_cc | yes* | Numeric cc |
| colour | yes* | |
| subheading | yes* | Short strapline — max 10 words |
| description | yes* | Advert text — min 20 characters |
| images | yes* | Full image URLs — pipe-separated in CSV, an array in JSON, repeated <image> tags in XML. We download and host them. Min 10 |
| warranty | yes* | Length, e.g. '3 months' |
| warranty_provider | yes* | Provider name, or 'In-house' |
| registration | no | UK reg plate — enables our free DVSA enrichment; also used as stock_ref fallback |
| fuel_type | no | |
| owners | no | Number of previous keepers |
| location / postcode | no | Used for area and distance search |
| status | no | 'available' (default), 'sold', or 'unavailable' — sold/unavailable rows are de-listed |
| features | no | Equipment list — repeated <feature> tags, JSON array, or pipe/comma-separated. Mapped to our spec packs (e.g. 'Top case' → Top box); unmatched names show as extra features |
| transmission | no | e.g. Manual, Automatic |
| body_type | no | e.g. SUV, Hatchback, Estate |
| drive_type | no | Cars — e.g. FWD, RWD, 4WD |
| doors | no | Cars — numeric |
| seats | no | Cars — numeric |
| engine_bhp | no | Cars — numeric |
| acceleration_0_62 | no | Cars — numeric seconds |
| mpg | no | Cars — numeric |
| co2_gkm | no | Cars — numeric g/km |
| tax_per_year | no | Cars — numeric £/year |
| insurance_group | no | Cars — numeric 1-50 |
| battery_range_miles | no | Electric cars — numeric miles |
| home_charge_hours | no | Electric cars — numeric hours |
| public_charge_hours | no | Electric cars — numeric hours |
| boot_litres | no | Cars — numeric litres |
| written_off | no | Cars — yes/no |
| manufacturer_approved | no | Cars — yes/no |
How syncing behaves
- Rows are matched by
stock_ref. New refs create listings, changed rows update in place, and rows that disappear from the file are marked sold (never deleted). - Gaps are filled automatically: when a record supplies a registration we run our DVSA + vehicle-data enrichment to fill missing vehicle fields before flagging anything. Enrichment can never fill price, mileage, images, description, or warranty — those are always yours.
- Incomplete rows still publish: a record missing recommended fields imports live anyway and is flagged "Needs attention" in your dashboard with what's missing — complete it by hand, or fix the feed and the next sync fills the gaps.
- You get an email after every run: "X published, Y updated, Z drafts, N rejected" with the reason for each draft/rejection.
- Safety valve: if a file would remove more than half your live stock in one go, removals are skipped and the run is flagged — a broken export can't wipe your ads.
- Feed-managed listings can't be edited by hand (they'd be overwritten on the next sync). You can unlink a listing from the feed to take it over manually.
Example (XML)
<vehicles>
<vehicle>
<stock_ref>C3345</stock_ref>
<vehicle_type>car</vehicle_type>
<make>Ford</make>
<model>Focus</model>
<year>2020</year>
<price>12995</price>
<mileage>21450</mileage>
<colour>Silver</colour>
<registration>AB20CDE</registration>
<images>
<image url="https://dealer.example/c1.jpg"/>
<image url="https://dealer.example/c2.jpg"/>
</images>
<features>
<feature>Heated seats</feature>
<feature>Apple CarPlay</feature>
</features>
<description>Clean example, full service history…</description>
<postcode>BS1 4ST</postcode>
</vehicle>
</vehicles>Example (CSV)
stock_ref,vehicle_type,make,model,year,price,mileage,colour,registration,body_type,doors,seats,fuel_type,mpg,co2_gkm,insurance_group,images,postcode C3345,car,Ford,Focus,2020,12995,21450,Silver,AB20CDE,Hatchback,5,5,Petrol,52.3,121,23,https://example.com/c1.jpg|https://example.com/c2.jpg,M1 2AB C3388,car,Vauxhall,Corsa,2021,10995,15820,Blue,DE21FGH,Hatchback,5,5,Petrol,53.3,118,15,https://example.com/d1.jpg,M1 2AB
Dealers without a DMS can always add vehicles by hand or bulk-upload a CSV in the dashboard — no feed required.
