Services
API Reference
- Back Office
- Listings
- Historical Photos
- Vehicles
- Taxes & Fees
- Consumers
- Credit
- Services
- Invoices
- Companies
- GETGet Companies
- POSTCreate a new Company
- GETRetrieve a Company
- PATCHUpdate an existing Company
- GETGet Dealers
- GETRetrieve a Dealer
- GETGet Contacts
- POSTCreate a new Contact
- GETRetrieve a Contact
- PATCHUpdate an existing Contact
- GETGet Insurers
- GETRetrieve an Insurer
- GETGet Lenders
- POSTCreate a new Lender
- GETRetrieve a Lender
- PATCHUpdate an existing Lender
- GETGet Facilitators
- GETRetrieve a Facilitator
- GETGet Partners
- GETRetrieve a Partner
- GETGet Affiliates
- GETRetrieve an Affiliate
- GETGet Developers
- POSTCreate a new Developer
- GETRetrieve a Developer
- PATCHUpdate an existing Developer
- GET
- Locations
- Webhooks
- Inspection
Companies
Create a new Contact
POST
/
contacts
curl --request POST \
--url https://commerce.driv.ly/api/contacts \
--header 'Content-Type: application/json' \
--data '{
"id": "cnt_8dk3j2ksl9d2",
"roles": [
"Manager",
"Sales"
],
"lastName": "Smith",
"firstName": "Alice"
}'
{
"data": {
"id": "cnt_8dk3j2ksl9d2",
"roles": [
"Manager",
"Sales"
],
"lastName": "Smith",
"firstName": "Alice"
},
"success": true
}
Query Parameters
The number of levels of related objects to include in the response
Body
application/json
Response
200
application/json
Contact Created
The response is of type object
.
curl --request POST \
--url https://commerce.driv.ly/api/contacts \
--header 'Content-Type: application/json' \
--data '{
"id": "cnt_8dk3j2ksl9d2",
"roles": [
"Manager",
"Sales"
],
"lastName": "Smith",
"firstName": "Alice"
}'
{
"data": {
"id": "cnt_8dk3j2ksl9d2",
"roles": [
"Manager",
"Sales"
],
"lastName": "Smith",
"firstName": "Alice"
},
"success": true
}
Assistant
Responses are generated using AI and may contain mistakes.