Voucher
Update a voucher
Update and return a voucher for the specified business id and voucher id. Currently only voucher's remaining balance is updatable
put/api/business/{businessId}/voucher/{voucherId}
Path parameters
businessIdstring required
voucherIdstring required
Request body
Example request
{
"remainingBalance": 123.45
}Response
Voucher updated successfully
Example response
{
"serialNumber": "123456",
"clientId": "WwEaIb0m4bhJphVtm2VgIw",
"creatingBranchId": "SE-J0emUgQnya14mOGdQS",
"originalBalance": 123.12,
"notes": "Example note",
"voucherId": "ab-123",
"remainingBalance": 123.45
}