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}
Request
- Base URLhttp://api-gateway-eu.phorest.com/third-party-api-server
- AuthHTTP basic
- TypeScriptA function with typed inputs. Its response is checked against the schema.
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
}Changes
No recorded changes to this operation across all 2 revisions of this API.