Syntax
Description
The referrals contains a JSON string representing an array of referral objects associated with the customer. This metafield is automatically updated whenever a referral’s status changes or a new referral is created for the customer.
Each object in the array represents a single referral and includes details such as its id, status, createdAt, updatedAt, and the friendEmail of the referred customer.
The referrals metafield stores the data as a JSON string. Parse the string before accessing individual referral objects in Liquid.
Properties
Type: String (JSON string)
Namespace: lantern
Return Values
Examples
Displaying Customer’s Referrals