With the Stock Sync capability on Auto Trader Connect, you can access a retailer’s stock data that’s stored in Auto Trader. This includes real-time stock update notifications to make sure this is kept up-to-date whenever updates are made in Auto Trader.
Here’s a full list of the functionality:
- Stock update notifications
- Baseline stock
- Stock charge times
- Stock taxonomy features
Stock update notifications
As part of this capability, you will get real-time stock update notifications whenever stock is updated on Auto Trader. A webhook will send the updated stock data to you.
A webhook will be sent for all updates to stock records in Auto Trader including:
- Stock creation
- Media updates
- Price updates
- Vehicles marked as reserved or sold
- Stock deletion
Check out examples of stock update notifications
Baseline stock
You can baseline with the stock stored in Auto Trader by calling the Stock API. This will allow you to get a snapshot of a retailer’s stock when you call the Stock API, to then be kept up-to-date with the stock update notifications.
The call to the Stock API will need to include:
- The advertiser ID of the retailer you want to baseline stock for
- The relevant page and pageSize parameters to make sure you get all stock split into pages
Check out an example of how to baseline using the Stock API
Stock Charge Times
You can also get charge time data for in-stock vehicles. Using the Stock ID of the stock record you want to get this data for, you can make an API call to the stock charge time endpoint to get this data.
Stock Taxonomy Features
You can get feature data for in-stock vehicle. This includes:
- Feature prices
- Categories
- Shortened names
Using the Stock ID of the stock record you want to get this data for, you can make an API call to the stock features endpoint to get this data.
This endpoint will return all possible features on the vehicle, not just those that are on the stock record. Once you have this, you will need to match the feature data from this endpoint to the name of the feature stored against the stock record.
Check out examples of the charge time and taxonomy features API calls
Error Handling
When using the APIs listed above, you may get error response codes that you will need to handle accordingly, in order to ensure smooth service for yourselves as a partner, and the end user of the system.