Skip to content

Loyalty Phase B In-progress

Loyalty lets merchants reward repeat customers — earning points on purchases, climbing membership tiers, and redeeming rewards. Point earning on completed orders is live today; the broader program management surface is planned for Phase B.

1. Identity

PropertyValue
Module IDEXT-01
TierExtended
StatusIn-progress
PhaseP1–P3
PriorityMEDIUM
Primary usersOwner / Manager / Customer

2. Purpose & Scope

IncludedExcluded
Earn points on completed sale ordersCross-merchant / shared point pools
Membership tiers (Bronze → Gold)Paid membership billing
Rewards catalog & redemptionGift-card issuance (separate module)
Referral & birthday rewardsMarketing message delivery (see Marketing)

3. Capabilities

CapabilityWhat the user can doStatus
Points earningAuto-award points when an order completes paymentIn-progress
Points redemptionSpend points for discounts or rewardsPlanned
Membership tiersDefine status levels with benefitsPlanned
Rewards catalogConfigure redeemable rewardsPlanned
Referral programReward customers for referralsPlanned
Birthday rewardsAuto-grant rewards on birthdaysPlanned
Program analyticsTrack member activity & program ROIPlanned

Today only points earning is wired in code (award on order completion, idempotent per order). Everything else is roadmap.

4. Module Dependencies

Depends onWhy
CRMCustomer identity holds the point balance and tier
OrdersCompleted orders are the earning trigger

5. Backend Packages

Implementation detail lives in the developer docs — this section only maps the module to the services that power it.

PackageRoleDeveloper docs
@nx/saleAwards points on order payment success (idempotent)Customer Points
@nx/identityStores customer point balanceIdentity

6. Key User Flows

7. Roles & Permissions

RoleCanCannot
OwnerConfigure earning rate, tiers, rewards (planned)
ManagerView member activity & balancesChange global earning rate
CustomerEarn & view pointsAdjust own balance manually

8. Status & Roadmap

PhaseCapabilities
P1Points earning on order completion (live)
P2Redemption, membership tiers, rewards catalog
P3Referral, birthday rewards, program analytics

Proprietary and Confidential. Unauthorized copying, distribution, or use of this software is strictly prohibited.