cURL
curl --request POST \ --url https://commerce.driv.ly/api/preApprovals/versions/{id} \ --header 'Authorization: <api-key>'
{ "doc": { "updatedAt": "<string>", "createdAt": "<string>", "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 }, "message": "<string>" }
Restore a Pre Approval version by id
id of the Pre Approval version
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
ok
Show child attributes