Skip to content

Adding more fields to Loyalty Profile field group (CJM-115123)#2122

Open
iewilliam wants to merge 1 commit intoadobe:masterfrom
iewilliam:loyalty_profile_v2
Open

Adding more fields to Loyalty Profile field group (CJM-115123)#2122
iewilliam wants to merge 1 commit intoadobe:masterfrom
iewilliam:loyalty_profile_v2

Conversation

@iewilliam
Copy link
Copy Markdown
Contributor

@iewilliam iewilliam commented Mar 27, 2026

Add more fields to loyalty profile schema to support more loyalty use cases around challenges and rewards, as requested. Also fix tier upgradeDate to be of type date-time.

Challenges

A loyalty challenge is a time bound challenge that usually has tasks for the user to finish with a reward for finishing on time. A typical example would be spend more than $20 over the next week to receive 100 extra loyalty points.

This PR adds a "challenges" field that lists such loyalty challenges that the user has signed up for and tracks their progress in them.

Rewards

This PR also adds a rewards section that tracks different reward channels for the user:

  • Coupons: Tracks coupons that has been assigned to the user. these are usually time bound and has some kind of redemption limit.
  • Badges: achievement badges earned by the user through various activities.
  • Giveaways: These are very much like coupons but to be redeemed against a partner.
  • Referrals: Referral rewards earned by the user for referring others to the loyalty program

… cases around challenges and rewards. Also fix tier upgradeDate to be of type date-time.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant