Menu
Update Loyalty Card Balance
Adjust Loyalty Card Balance
POST
/v1/loyalties/members/{memberId}/balanceUse it in a workflow
- Add a step and choose the Voucherify connector.
- Pick the Update Loyalty Card Balance action (under Loyalties).
- Fill in the fields below, then reference the result from later steps as
{{updateLoyaltyCardBalance.response.data}}.
Request
Path parameters
Request body
Enter the body as JSON in the step's Body field.
{
"points": 0,
"expiration_type": null,
"expiration_date": "2025-01-01T00:00:00Z",
"reason": "string",
"source_id": "string"
}
Response
Returns 200 with an object. Read it in later steps with {{updateLoyaltyCardBalance.response.data.<field>}}.
{
"points": 0,
"total": 0,
"balance": 0,
"type": "loyalty_card",
"object": "balance",
"related_object": {
"type": "voucher",
"id": "string"
},
"operation_type": "MANUAL"
}
Need more? See the Voucherify guide for connection setup and behaviour shared by every action.
Was this page helpful?