Skip to main content

Loyalty

The Loyalty console at /marketing/loyalty runs your standing membership program: you define how members earn points and which tiers they climb, and the console tracks every member’s balance with the actions to adjust or redeem it. The marketing hub overview positions this console against the other three; the Loyalty program guide designs earn rules, tiers, and the redemption flow; the concept page defines the model underneath. Loyalty is a tenant-owned control. Points exist only because you defined the rules that mint them: until you configure a program, no member accrues anything.

What you see on the page

The console stacks the program definition above the member table. Program header. The program name with its current revision, plus the earn rules (for example Per $1 on the order_paid event) and the tier ladder with each tier’s threshold and benefits. The header carries three controls: Edit program (or Customize program before you have touched the default), Reset program, and the member-level actions below. Members table. One row per member in the program:

Balances, expiry, and limits

Every figure in a member row is a projection over that member’s event history: each earn, redemption, and adjustment is an immutable event, and the console recomputes the balance from that history on every read. The semantics below follow from that design and govern every number on the page and every value the member endpoints return.

Points accrue as lots and spend oldest first

Each earn opens its own lot: a pool of points that lapses pointsExpiryDays after the earning event occurred. Redemptions and manual debits draw from the oldest live lots first, so newer points stay on the balance longest. A lot that passes its expiry date lapses, and those points leave the Available figure. Tier never moves down. The Tier column reads Lifetime, the sum of everything the member ever earned, which redemption and expiry never touch. A member who spends or lapses their whole balance keeps the tier they earned and keeps their progress toward the next one. The program model explains the lifetime-versus-spendable split in more depth.

”Expiring soon” is a fixed 30-day window

Expiring soon sums the live points whose lot lapses within 30 days of now. The window is fixed at 30 days for every workspace; there is no setting to widen or narrow it, so plan promotions with that lead time in mind: it is how much notice the console gives you to nudge a member to redeem before points lapse. When the program sets no expiry (pointsExpiryDays is null), lots never carry an expiry date and the column stays at 0.

The expiry window runs from 1 to 3650 days, or none

pointsExpiryDays accepts an integer from 1 to 3650 (about ten years); null, or omitting the field, means points never expire. The built-in default program uses 365 days. The window counts from the moment each lot is earned, not from when you save the program, so points earned before a change keep accruing age from their own earn date. Changing the window later applies the new lifespan to all unexpired points at the next balance computation.

perUnit rules round with floor, round, or ceil

A perUnit rule multiplies the event property by pointsPerUnit and rounds the result before opening the lot: perEvent rules grant whole points by definition, so rounding never applies to them.

Manual adjustments reuse the earn and redemption semantics

A credit behaves exactly like an event-driven earn: it opens its own lot, lapses under the same window, and counts toward Lifetime and tier. The reason you enter is stored with the adjustment, so the ledger records why points moved, not just that they moved. A debit uses the same overspend protection as a redemption: it draws the oldest live lots down and can never exceed the member’s Available balance.

Reading balances through the API

The member table is served by two reads, both gated behind contacts:read like the rest of the console:
  • GET /api/v1/loyalty/members is the paginated list behind the table: members with loyalty activity, most recently active first, each with their computed balance and tier. Page it with limit (default 25, maximum 100) and offset.
  • GET /api/v1/loyalty/members/{contactId} returns one member’s full projection: available, lifetimeEarned, expiringSoon, and nextExpiryAt, the date the oldest live lot lapses (null when nothing is due to lapse), together with the current tier and progress toward the next.
The Loyalty API reference carries the full response envelopes; the setup guide walks through designing the program these balances obey.

Who can read and who can act

The dashboard gates the whole console at the workspace level; the API splits reads from writes at the scope level: A credential that clears the read scope but not the write scope can list balances and receives a 403 on program, adjust, and redeem writes.

Worked examples

Adjust a member balance with a reason

  1. Find the member in the table and choose Adjust.
  2. Pick a credit or a debit, enter the points, and write the reason, for example goodwill — delayed order.
  3. Confirm. The available and lifetime figures move accordingly, and the reason is kept with the adjustment.
Use adjustments for corrections and goodwill: the program’s earn rules stay the source of ordinary accrual.

Redeem points through the incentives engine

  1. Choose Redeem on the member’s row.
  2. Enter the points to burn. The dialog blocks overspend: you cannot redeem more than the Available figure.
  3. Confirm. The balance drops, and the redemption posts to the Incentives ledger as a record you can audit like any other reward.

Set the program up against a wallet pass

Define at least one earn rule and a base tier at threshold 0 (the program form requires both), then issue loyalty cards from the Wallet Passes console. Members accrue on the pass, and a balance update bumps the pass’s generation counter so holder devices refresh without a re-save.

API pairing

The console’s program editor writes POST /api/v1/loyalty/program:
The response carries the revision_id the program now reports. The full field lists live in the Loyalty API reference — treat it as the contract for anything beyond the envelope above. The console’s Adjust and Redeem dialogs write the adjust and redeem endpoints of the same surface.

Tenant-owned controls

Earn rules, tier thresholds and benefits, point expiry, and every manual adjustment or redemption are values you set. The platform supplies the ledger and the enforcement, never the policy: until you configure a rule, nothing accrues, and until you reset or edit, the program keeps exactly the shape you last saved.