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
Create a new Pre-Approval
POST
/
preapprovals
curl --request POST \
--url https://commerce.driv.ly/api/preapprovals \
--header 'Content-Type: application/json' \
--data '{
"id": "pre_59dk394fjdl3",
"consumer": "Consumer ID",
"creditBand": "crb_39fjkd93nmd0",
"validUntilTime": "2024-04-12T00:00:00Z"
}'
{
"data": {
"id": "pre_59dk394fjdl3",
"consumer": "Consumer ID",
"creditBand": "crb_39fjkd93nmd0",
"validUntilTime": "2024-04-12T00:00:00Z"
},
"success": true
}
Query Parameters
The number of levels of related objects to include in the response
Body
application/json
Response
200
application/json
Pre-Approval Created
The response is of type object
.
curl --request POST \
--url https://commerce.driv.ly/api/preapprovals \
--header 'Content-Type: application/json' \
--data '{
"id": "pre_59dk394fjdl3",
"consumer": "Consumer ID",
"creditBand": "crb_39fjkd93nmd0",
"validUntilTime": "2024-04-12T00:00:00Z"
}'
{
"data": {
"id": "pre_59dk394fjdl3",
"consumer": "Consumer ID",
"creditBand": "crb_39fjkd93nmd0",
"validUntilTime": "2024-04-12T00:00:00Z"
},
"success": true
}
Assistant
Responses are generated using AI and may contain mistakes.