Services
- Overview
- Concierge
- Inspection
- Reconditioning
- Mechanical Repair
- Finance & Insurance
- Back Office & Contracting
- Title & Registration
- Body & Paint
- Wash & Detail
- Transport & Delivery
- Scheduled Maintenance
- Monetizing Services
Pre-Approval
Create Pre Approval
Create a new Pre Approval
POST
/
preApprovals
Copy
curl --request POST \
--url https://commerce.driv.ly/api/preApprovals \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"customer": 123,
"title": "<string>",
"status": "Processing",
"firstName": "<string>",
"middleInitial": "<string>",
"lastName": "<string>",
"suffix": "JR",
"address": "<string>",
"city": "<string>",
"state": "AA",
"zip": "<string>",
"phone": "<string>",
"email": "<string>",
"income": "<string>",
"ipAddress": "<string>",
"userAgent": "<string>",
"isp": "<string>",
"sessionId": "<string>",
"resend": "<string>",
"AppId": 123,
"segmentationBand": "Excellent (750-900)",
"estimatedInterestRate": "<string>",
"estimatedLoanTerm": "<string>",
"lead": 123,
"updatedAt": "<string>",
"createdAt": "<string>"
}'
Copy
{
"doc": {
"customer": 123,
"title": "<string>",
"status": "Processing",
"firstName": "<string>",
"middleInitial": "<string>",
"lastName": "<string>",
"suffix": "JR",
"address": "<string>",
"city": "<string>",
"state": "AA",
"zip": "<string>",
"phone": "<string>",
"email": "<string>",
"income": "<string>",
"ipAddress": "<string>",
"userAgent": "<string>",
"isp": "<string>",
"sessionId": "<string>",
"resend": "<string>",
"AppId": 123,
"segmentationBand": "Excellent (750-900)",
"estimatedInterestRate": "<string>",
"estimatedLoanTerm": "<string>",
"lead": 123,
"updatedAt": "<string>",
"createdAt": "<string>"
},
"message": "<string>"
}
Authorizations
Query Parameters
number of levels to automatically populate relationships and uploads
retrieves document(s) in a specific locale
specifies a fallback locale if no locale value exists
Body
application/json
Pre Approval to add
The body is of type object
.
Response
200 - application/json
ok
The response is of type object
.
Copy
curl --request POST \
--url https://commerce.driv.ly/api/preApprovals \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"customer": 123,
"title": "<string>",
"status": "Processing",
"firstName": "<string>",
"middleInitial": "<string>",
"lastName": "<string>",
"suffix": "JR",
"address": "<string>",
"city": "<string>",
"state": "AA",
"zip": "<string>",
"phone": "<string>",
"email": "<string>",
"income": "<string>",
"ipAddress": "<string>",
"userAgent": "<string>",
"isp": "<string>",
"sessionId": "<string>",
"resend": "<string>",
"AppId": 123,
"segmentationBand": "Excellent (750-900)",
"estimatedInterestRate": "<string>",
"estimatedLoanTerm": "<string>",
"lead": 123,
"updatedAt": "<string>",
"createdAt": "<string>"
}'
Copy
{
"doc": {
"customer": 123,
"title": "<string>",
"status": "Processing",
"firstName": "<string>",
"middleInitial": "<string>",
"lastName": "<string>",
"suffix": "JR",
"address": "<string>",
"city": "<string>",
"state": "AA",
"zip": "<string>",
"phone": "<string>",
"email": "<string>",
"income": "<string>",
"ipAddress": "<string>",
"userAgent": "<string>",
"isp": "<string>",
"sessionId": "<string>",
"resend": "<string>",
"AppId": 123,
"segmentationBand": "Excellent (750-900)",
"estimatedInterestRate": "<string>",
"estimatedLoanTerm": "<string>",
"lead": 123,
"updatedAt": "<string>",
"createdAt": "<string>"
},
"message": "<string>"
}
Assistant
Responses are generated using AI and may contain mistakes.