Syntax
- Liquid
Description
Theloyalty_points metafield contains the customer’s current available points balance. This value represents points that can be redeemed for rewards and is automatically updated when points are earned, spent, or adjusted.
Properties
Type:Number
Namespace: lantern
Auto-updated: Yes
Return Values
| Scenario | Value | Type |
|---|---|---|
| Logged in with points | Points balance (e.g., 1250) | Number |
| Logged in without points | 0 | Number |
| Not eligible for loyalty | null | null |
| Logged out | null | null |