Services
API Reference
- Back Office
- Listings
- Historical Photos
- Vehicles
- Taxes & Fees
- Consumers
- Credit
- Services
- Invoices
- Companies
- Locations
- Webhooks
- Inspection
Vehicles
Update an existing Vehicle
PATCH
/
vehicles
/
{vin}
curl --request PATCH \
--url https://commerce.driv.ly/api/vehicles/{vin} \
--header 'Content-Type: application/json' \
--data '{
"vin": "1C4HJXEN5MW592818",
"year": 2021,
"make": "Jeep",
"trim": "Sport",
"spec": "vs_4jf8x9jv5c0b",
"model": "Wrangler",
"engine": "3.6L V6",
"seatCount": 5,
"doorCount": 4,
"bodyStyle": "SUV",
"drivetrain": "4WD",
"transmission": "Automatic",
"interiorColor": "Black",
"exteriorColor": "Red"
}'
{
"data": {
"vin": "1C4HJXEN5MW592818",
"year": 2021,
"make": "Jeep",
"trim": "Sport",
"spec": "vs_4jf8x9jv5c0b",
"model": "Wrangler",
"engine": "3.6L V6",
"seatCount": 5,
"doorCount": 4,
"bodyStyle": "SUV",
"drivetrain": "4WD",
"transmission": "Automatic",
"interiorColor": "Black",
"exteriorColor": "Red"
},
"success": true
}
Path Parameters
Vehicle is uniquely identified by vin
Query Parameters
The number of levels of related objects to include in the response
Body
application/json
Response
200
application/json
Vehicle Updated
The response is of type object
.
curl --request PATCH \
--url https://commerce.driv.ly/api/vehicles/{vin} \
--header 'Content-Type: application/json' \
--data '{
"vin": "1C4HJXEN5MW592818",
"year": 2021,
"make": "Jeep",
"trim": "Sport",
"spec": "vs_4jf8x9jv5c0b",
"model": "Wrangler",
"engine": "3.6L V6",
"seatCount": 5,
"doorCount": 4,
"bodyStyle": "SUV",
"drivetrain": "4WD",
"transmission": "Automatic",
"interiorColor": "Black",
"exteriorColor": "Red"
}'
{
"data": {
"vin": "1C4HJXEN5MW592818",
"year": 2021,
"make": "Jeep",
"trim": "Sport",
"spec": "vs_4jf8x9jv5c0b",
"model": "Wrangler",
"engine": "3.6L V6",
"seatCount": 5,
"doorCount": 4,
"bodyStyle": "SUV",
"drivetrain": "4WD",
"transmission": "Automatic",
"interiorColor": "Black",
"exteriorColor": "Red"
},
"success": true
}
Assistant
Responses are generated using AI and may contain mistakes.