curl --request PUT \
--url https://lms.bsa.ai/v1/loans/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"borrower_id": 123,
"loan_id": 123,
"loan_type": "<string>",
"products": [
{
"stock_id": 123,
"quantity": 123,
"price": 123
}
],
"principal_amount": 123,
"released_date": "<string>",
"due_date": "<string>",
"duration": 123,
"duration_period": "<string>",
"description": "<string>"
}
'