CustomerId, MemberId and LoyaltyCardId, with CustomerId equal to MemberId.
Field reference
Field definitions match the loyalty card models of the Members endpoints. A Data streams request body carries these properties under camelCase names, such asloyaltyCardId for LoyaltyCardId, unless the subscription transforms the payload.
The mobile app equivalents (
POST /mobile-app/v1/loyalty-cards and PUT /mobile-app/v1/loyalty-cards/{cardId}) and the card actions in Nexus emit the same events. POST /v1/loyalty-cards/import/data-import behaves like /import. POST /v1/loyalty-cards/{memberId}/deactivate and PUT /v1/members/{memberId}/deactivate emit Loyalty Card State Changed for every card they deactivate.
Schemas
A payload can carry properties that its schema does not list. Rely only on the listed ones: see Events.- Loyalty Card Created
- Loyalty Card Imported
- Loyalty Card State Changed
- Loyalty Card Deleted
API reference
Endpoint documentation: Members.Related
- Customer events — the customer the cards belong to, and the deletion that removes them.
- Card events — challenge cards, a different thing with a similar name.
- OutboundAPI connection — how these events reach an endpoint in your system.