Services
API Reference
- Back Office
- Listings
- Historical Photos
- Vehicles
- Taxes & Fees
- Consumers
- Credit
- GETGet Pre-Approvals
- POSTCreate a new Pre-Approval
- GETRetrieve a Pre-Approval
- PATCHUpdate an existing Pre-Approval
- GETGet Credit Apps
- POSTCreate a new Credit App
- GETRetrieve a Credit App
- PATCHUpdate an existing Credit App
- GETGet Credit Reports
- POSTCreate a new Credit Report
- GETRetrieve a Credit Report
- PATCHUpdate an existing Credit Report
- GETGet Credit Bands
- GETRetrieve a Credit Band
- GET
- Services
- Invoices
- Companies
- Locations
- Webhooks
- Inspection
Credit
Update an existing Credit Report
PATCH
/
creditreports
/
{id}
curl --request PATCH \
--url https://commerce.driv.ly/api/creditreports/{id} \
--header 'Content-Type: application/json' \
--data '{
"id": "crp_5dk3j9dk2l3k",
"time": "2023-04-12T15:30:00Z",
"hasNS": false,
"creditBand": {
"id": "crb_39fjkd93nmd0",
"name": "Excellent",
"minimumCreditScore": 700,
"maximumCreditScore": 800
},
"creditScore": 720,
"preApproval": {
"id": "pre_59dk394fjdl3",
"consumer": "Consumer ID",
"creditBand": "crb_39fjkd93nmd0",
"validUntilTime": "2024-04-12T00:00:00Z"
},
"hasUnknownScore": false
}'
{
"data": {
"id": "crp_5dk3j9dk2l3k",
"time": "2023-04-12T15:30:00Z",
"hasNS": false,
"creditBand": {
"id": "crb_39fjkd93nmd0",
"name": "Excellent",
"minimumCreditScore": 700,
"maximumCreditScore": 800
},
"creditScore": 720,
"preApproval": {
"id": "pre_59dk394fjdl3",
"consumer": "Consumer ID",
"creditBand": "crb_39fjkd93nmd0",
"validUntilTime": "2024-04-12T00:00:00Z"
},
"hasUnknownScore": false
},
"success": true
}
Path Parameters
Credit Report is uniquely identified by id
Query Parameters
The number of levels of related objects to include in the response
Body
application/json
Response
200
application/json
Credit Report Updated
The response is of type object
.
curl --request PATCH \
--url https://commerce.driv.ly/api/creditreports/{id} \
--header 'Content-Type: application/json' \
--data '{
"id": "crp_5dk3j9dk2l3k",
"time": "2023-04-12T15:30:00Z",
"hasNS": false,
"creditBand": {
"id": "crb_39fjkd93nmd0",
"name": "Excellent",
"minimumCreditScore": 700,
"maximumCreditScore": 800
},
"creditScore": 720,
"preApproval": {
"id": "pre_59dk394fjdl3",
"consumer": "Consumer ID",
"creditBand": "crb_39fjkd93nmd0",
"validUntilTime": "2024-04-12T00:00:00Z"
},
"hasUnknownScore": false
}'
{
"data": {
"id": "crp_5dk3j9dk2l3k",
"time": "2023-04-12T15:30:00Z",
"hasNS": false,
"creditBand": {
"id": "crb_39fjkd93nmd0",
"name": "Excellent",
"minimumCreditScore": 700,
"maximumCreditScore": 800
},
"creditScore": 720,
"preApproval": {
"id": "pre_59dk394fjdl3",
"consumer": "Consumer ID",
"creditBand": "crb_39fjkd93nmd0",
"validUntilTime": "2024-04-12T00:00:00Z"
},
"hasUnknownScore": false
},
"success": true
}
Assistant
Responses are generated using AI and may contain mistakes.