Home
The Inventory API allows you to manipulate advertisements within the carsales network.
| Environment | Base URL |
|---|---|
| Production | https://inventory.api.carsales.com |
| Sandbox/Testing | http://globalinventory-publicapi.stg.core.csnglobal.net |
Quick start guide
- Generate an access token.
- Construct your CSN-DTO vehicle object.
- Explore the Vehicles API reference and make the appropriate request.
Sandbox environment
Using the Sandbox/Testing URL listed above will allow you to test out your requests to the API without affecting your actual advertisements. We encourage you to use this in order to play around with your payload in a no-consequences environment.
Postman collection and environment
We have created a Postman collection and environment that includes complete request examples for all the endpoints outlined in this documentation. Our goal with this was to provide an interactive tutorial and examples that you can substitute your data into.
Here is the official documentation for importing data into Postman if you are unfamiliar with it.
Tutorial
Additionally, we used the Postman collection as a basis for a complete tutorial that covers all the available endpoints the Inventory API has to offer. All you need are the above files to begin.
Media
If you're looking to upload media to an existing inventory item you can explore the Media API reference and make the appropriate request.
