Skip to main content
PATCH
/
creditreports
/
{id}
Update an existing Credit Report
curl --request PATCH \
  --url https://commerce.driv.ly/api/creditreports/{id} \
  --header 'Content-Type: application/json' \
  --data '
{
  "id": "<string>",
  "creditScore": 123,
  "time": "2023-11-07T05:31:56Z",
  "creditBand": "<string>",
  "preApproval": "<string>",
  "hasUnknownScore": true,
  "hasNS": true
}
'
{
  "data": {
    "id": "<string>",
    "time": "2023-11-07T05:31:56Z",
    "creditBand": "<string>",
    "preApproval": "<string>",
    "creditScore": 123,
    "hasUnknownScore": true,
    "hasNS": true
  },
  "success": true
}

Path Parameters

id
string
required

Credit Report is uniquely identified by id

Query Parameters

depth
integer

The number of levels of related objects to include in the response

Body

application/json
id
string

Credit Report is uniquely identified by id

creditScore
number

Credit Report has Credit Score

time
string<date-time>

Credit Report was pulled at Time

creditBand

Credit Report falls in Credit Band

preApproval

Pre-Approval has Credit Report

hasUnknownScore
boolean

Credit Report has unknown score

hasNS
boolean

Credit Report has NS

Response

Credit Report Updated

data
Credit Report · object
Example:
{
"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
boolean