Examine rewards
Changed onEvaluates rewards assigned to a customer's active Loyalty v2 program memberships. Applies temporary customer and member metadata overrides without updating stored data. Returns reward availability by card, including points costs and applicable unavailability reasons. Omits a reward when it is inactive, out of stock, has no matching cost, or the member has no card for that cost.
This endpoint can examine rewards for all loyalty programs the customer belongs to by using customer_identification with customer_id or customer_source_id. To examine rewards only for one program, use member_id in customer_identification, as member_id is loyalty program-specific. A customer who exists but has no active membership returns 200 with an empty memberships array.
Request
- Base URLhttps://api.voucherify.io
- URLhttps://api.voucherify.io/v2/loyalties/examine/rewards
- Auth
- API key in header X-App-Id and API key in header X-App-Token
- or HTTP bearer
Request body
Response
Rewards examination result. An empty memberships array means the customer has no active membership. An empty cards array means no assigned reward resolved onto a card.
Changes
- breaking
the
////response's property type changed from no type toobjectfor status - info
the response property
///became required for the status - info
the response property
///became required for the status - info
removed
subschema #2from the////response propertyoneOflist for the response status - info
added the required property
/////to the response with the status
- breaking
- breaking
the response property
///became optional for the status - breaking
the response property
///became optional for the status - breaking
added
subschema #2to the////response propertyoneOflist for the response status - breaking
the
////response's property type changed fromobjectto no type for status - breaking
removed the required property
/////from the response with the status
- breaking