Services
API Reference
- Back Office
- Listings
- Historical Photos
- Vehicles
- Taxes & Fees
- Consumers
- GETGet Consumers
- POSTCreate a new Consumer
- GETRetrieve a Consumer
- PATCHUpdate an existing Consumer
- GETGet Leads
- POSTCreate a new Lead
- GETRetrieve a Lead
- PATCHUpdate an existing Lead
- GETGet Accounts
- POSTCreate a new Account
- GETRetrieve an Account
- PATCHUpdate an existing Account
- GETGet Insurance policies
- POSTCreate a new Insurance Policy
- GETRetrieve an Insurance Policy
- PATCHUpdate an existing Insurance Policy
- GET
- Credit
- Services
- Invoices
- Companies
- Locations
- Webhooks
- Inspection
Consumers
Create a new Consumer
POST
/
consumers
curl --request POST \
--url https://commerce.driv.ly/api/consumers \
--header 'Content-Type: application/json' \
--data '{
"id": "con_2k4jd93vsd82",
"ssn": "123-45-6789",
"email": "john.doe@example.com",
"lastName": "Doe",
"birthDate": "1984-09-20",
"firstName": "John",
"phoneNumber": "555-0199"
}'
{
"data": {
"id": "con_2k4jd93vsd82",
"ssn": "123-45-6789",
"email": "john.doe@example.com",
"lastName": "Doe",
"birthDate": "1984-09-20",
"firstName": "John",
"phoneNumber": "555-0199"
},
"success": true
}
Query Parameters
The number of levels of related objects to include in the response
Body
application/json
Response
200
application/json
Consumer Created
The response is of type object
.
curl --request POST \
--url https://commerce.driv.ly/api/consumers \
--header 'Content-Type: application/json' \
--data '{
"id": "con_2k4jd93vsd82",
"ssn": "123-45-6789",
"email": "john.doe@example.com",
"lastName": "Doe",
"birthDate": "1984-09-20",
"firstName": "John",
"phoneNumber": "555-0199"
}'
{
"data": {
"id": "con_2k4jd93vsd82",
"ssn": "123-45-6789",
"email": "john.doe@example.com",
"lastName": "Doe",
"birthDate": "1984-09-20",
"firstName": "John",
"phoneNumber": "555-0199"
},
"success": true
}
Assistant
Responses are generated using AI and may contain mistakes.