The customer metafield contains the individual loyalty data for a single customer. Access it in Liquid at:Documentation Index
Fetch the complete documentation index at: https://developers.mageloyalty.com/llms.txt
Use this file to discover all available pages before exploring further.
Since the metafield type is
json, you access nested properties through .value in Liquid. This metafield is only available on pages where the customer object exists (i.e. the customer is logged in).Full object shape
Field reference
| Field | Type | Description |
|---|---|---|
points_balance | number | Current available points the customer can spend |
lifetime_points | number | Total points earned since joining the program |
redeemed_points | number | Total points spent on rewards |
vip_tier | string | Name of the customer’s current VIP tier |
status | string | "member" or "excluded" |
Status values
| Value | Description |
|---|---|
member | Active loyalty program member |
excluded | Customer has been excluded from the loyalty program by the merchant |