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
Update Pre Approval
Updates a Pre Approval by id
PATCH
/
preApprovals
/
{id}
Copy
curl --request PATCH \
--url https://commerce.driv.ly/api/preApprovals/{id} \
--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
Path Parameters
id of the Pre Approval
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 update
The body is of type object
.
Response
200
application/json
ok
The response is of type object
.
Copy
curl --request PATCH \
--url https://commerce.driv.ly/api/preApprovals/{id} \
--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.