RECENT UPDATES:
12-Oct-2026 | v7.12.4 | All new article

Change Log

  • 12-Oct-2026 | v7.12.4 | All new article

Contributors:

{
  "id": 2418,
  "name": "Adam Wilson",
  "url": "/adam-wilson"
}
Adam Wilson - Logo Pogo

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 BalanceAdjustment is negative
    • consume balance from the gift voucher
      • if BalanceAdjustment > gift voucher's balance
        • consume the amount of gift voucher balance
      • else
        • consume BalanceAdjustment amount
  • If BalanceAdjustment is positive
    • add provided amount to the gift voucher's balance
  • Finally set actual consumed or added amount to the AdjustedBalanceAmount property of the output model