Syntax
- Liquid
Description
Theloyalty_spend metafield contains the customer’s spending amount for the current tier period. This value tracks spending toward tier advancement or maintenance and resets based on your loyalty program’s tier period configuration (monthly, yearly, or lifetime).
Spend tracking periods vary by loyalty program configuration. Common periods include annual (January-December), rolling 12 months, or lifetime spending.
Properties
Type:Number
Namespace: lantern
Return Values
| Scenario | Value | Type |
|---|---|---|
| Logged in with spending | Spending amount (e.g., 450.50) | Number |
| Logged in without spending | 0 | Number |
| Not eligible for loyalty | null | null |
| Logged out | null | null |