Authorization: Bearer ********************curl --location --request PUT '/desktop/transactions/update-cashin-other/1743121' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"id": "1743121",
"name": "Investments",
"transaction_type": "other_cash_in",
"payment_type":"fully_paid",
"amount": 50000,
"quantity": 2,
"transaction_date": "2024-07-29",
"unpaid_balance": 0,
"sales": [
{
"category_name": "Investments",
"name": "Oh Cash gavme this loan",
"amount": 2000
}
]
}'{
"success": true,
"message": "Transaction others updated successfully!",
"data": {
"totalSalesAmount": 2000,
"sales": [
{
"category_name": "Investments",
"name": "Oh Cash gavme this loan",
"amount": 2000
}
]
}
}