cURL
curl --request PUT \ --url https://lms.tausi.africa/v1/borrowers/{id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "country": "<string>", "business_name": "<string>", "phone": "<string>", "email": "[email protected]", "address": "<string>", "type": "<string>", "region": "<string>" } '
{ "item": { "id": 123, "business_name": "<string>", "phone": "<string>", "address": "<string>", "type": "<string>", "region": "<string>", "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z", "country": "<string>", "email": "[email protected]", "credit_score": 123 }, "success": true }
Updates an existing borrower’s details.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Borrower updated successfully.
Show child attributes
true