Promotion Memberships represents an Account's membership to a Promotion . Each Promotion Membership carries progress towards completing the Promotion. Promotion Memberships are created automatically for the account when a Loyalty Program Membership is created.
Promotion Membership Model
Attributes
id
string
The unique identifier for the Promotion Membership.
accountId
string
The ID of the Account that has the membership to the Promotion.
The type of Promotion. Can be cashback or challenge. challenge rewards the account once, after the challenge target is met. cashback gives a reward based on the payment amount, which can be completed an unlimited number of times.
conditions
array
The list of Conditions that need to be met when incrementing/completing the Promotion.
description
string
Displayable description for the Promotion.
progress
number
The Account's progress towards completing the Promotion.
status
number
The status of the Promotion Membership. Can be "active", "expired", or "complete".
createdAt
string
The timestamp of when the Promotion Membership was created.