RECENT UPDATES:
12-Oct-2026 | v7.12.4 | All new article
12-Oct-2026 | v7.12.4 | All new article
CRM Contact API
Retrieve a CRM member via member token as well as Update member password.
PUT Gift Voucher Frontend
Updates an existing Gift Voucher.
/api/v2/frontend/adjust-gift-voucher-balance
Data / Response:
{
"Name": "string",
"BalanceAdjustment": 0
}
{
"Id": 0,
"Name": "string",
"Balance": 0,
"Amount": 0,
"Enabled": true,
"Currency": "string",
"OrderId": 0,
"Type": "Manual",
"AdjustedBalanceAmount": 0,
"Recipient": {
"Name": "string",
"Email": "user@example.com",
"Message": "string"
}
}
Logic
- If
BalanceAdjustmentis negative- consume balance from the gift voucher
- if
BalanceAdjustment> gift voucher's balance- consume the amount of gift voucher balance
- else
- consume
BalanceAdjustmentamount
- consume
- if
- consume balance from the gift voucher
- If
BalanceAdjustmentis positive- add provided amount to the gift voucher's balance
- Finally set actual consumed or added amount to the
AdjustedBalanceAmountproperty of the output model
