curl --request POST \
--url https://{cluster}.voucherify.io/v1/loyalties/members/{memberId}/pending-points/{pendingPointsId}/cancel \
--header 'X-App-Id: <api-key>' \
--header 'X-App-Token: <api-key>'This endpoint belongs to the legacy loyalty API (/v1/loyalties).
Voucherify will not develop new features for this API. However, critical issues may still receive fixes.
For new integrations, use Loyalty v2.
If you have questions, contact Voucherify support.
Cancel manually the pending points for the loyalty card. The pending points are determined by the pending point ID.
Once canceled, the pending point entry with that ID is not listed by the endpoints: List member (with campaign ID, without campaign ID), List campaign pending points.
This POST method does not require a request body and it returns an empty, 204, response.
Pending points are configured as part of an earning rule with POST Create earning rule or PUT Update earning rule.
curl --request POST \
--url https://{cluster}.voucherify.io/v1/loyalties/members/{memberId}/pending-points/{pendingPointsId}/cancel \
--header 'X-App-Id: <api-key>' \
--header 'X-App-Token: <api-key>'Authorizations
Path Parameters
Unique loyalty card code assigned to a particular customer.
"MmFAzfDe"
Unique pending point identifier, assigned by Voucherify.
Response
Returns no content if the pending points are canceled successfully.
Was this page helpful?

