Skip to content

Earn Points

POST /members/{id}/earn command bearer

Awards loyalty points to a member account based on a completed purchase, applying the active earn-rate rules.


Overview

ID earn-points-api
Method POST
Path /members/{id}/earn
Classification command
Domain loyalty
Capability loyalty
Service issue-points
Application loyalty-platform — Loyalty Platform
Auth bearer

Request Body

Business Object order
Description Confirmed commercial commitment created from checkout or assisted selling.
Classification aggregate-root
Lifecycle draft → confirmed → in-fulfilment → partially-fulfilled → completed → return-in-progress → cancelled

Response

Business Object loyalty-account
Description Account used to track loyalty participation state, balances, benefits, and point activity.

Events Emitted

Event Classification Object Description
loyalty-points-earned updated loyalty-account Loyalty points were awarded to a member account following a completed purchase, updating the balance.

Integration Patterns

Pattern Flow Style Description
POS → Loyalty Platform Earn/Redeem posloyalty-platform synchronous-api At transaction close, the POS triggers loyalty point accrual and handles redemption requests. Both operations are synchronous for immediate receipt display.

Scenarios using loyalty

Scenario Description
Clienteling Sale A store associate uses a clienteling application to identify a known customer, review their purchase
Customer Registration A new customer creates a unified identity that can be recognised consistently across digital and phy
Loyalty Enrollment A customer is enrolled into the retailer's loyalty programme during or after a transaction — in-stor
Loyalty Tier Upgrade A customer's loyalty standing is reviewed after new qualifying activity and may be promoted to a hig
Scan and Go Customer scans items using a mobile app while shopping, receives promotions and loyalty benefits in
API Method Path Type
Enroll Loyalty Member POST /loyalty/members command
Issue Loyalty Points POST /loyalty/accounts/{id}/points command
Redeem Loyalty Points POST /loyalty/accounts/{id}/redemptions command
Redeem Points POST /members/{id}/redeem command
Get Member Balance GET /members/{id}/balance query