Adjust card points
Changed onManually adjusts the points balance of the member's card.
A positive points value creates an ADMIN_CREDIT card transaction. The expiration date comes from the member tier when that tier defines its own points expiration. Otherwise the date comes from the card definition. expiration_date is null when points don't expire.
A negative points value creates an ADMIN_DEBIT card transaction.
When points is 0, no transaction is created and status is NO_CHANGE.
The transaction is created with status PENDING and processed asynchronously. The program and the member must be ACTIVE. The program must also be inside its validity window. Otherwise the response is 423. The response is 404 when the program or the member doesn't exist, or when the card isn't assigned to that member.
Request
- Base URLhttps://api.voucherify.io
- URLhttps://api.voucherify.io/v2/loyalties/programs/{programId}/members/{memberId}/cards/{cardId}/points
- Auth
- API key in header X-App-Id and API key in header X-App-Token
- or HTTP bearer
Request body
Response
Result of the points adjustment.
Changes
- breaking
added to the request body
allOflist - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - warning
removed the request property
- warning
removed the request property
- info
added to the response body
allOflist for the response status
- breaking
- breaking
added the new required request property
- warning
removed from the request body
allOflist - info
added the new optional request property
- info
removed from the response body
allOflist for the response status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status
- breaking