Skip to main content

Syntax

Description

The referral_code metafield contains the customer’s unique referral tracking code used for the referral program. This code can be shared with friends and family to track successful referrals and award referral bonuses. The code is automatically generated when a customer becomes eligible for the referral program.
Referral codes are unique, URL-safe strings that remain constant throughout the customer’s lifetime unless manually reset.

Properties

Type: String Namespace: lantern

Return Values

Examples

Basic Referral Code Display