Skip to main content
Lantern continuously stores and updates all of the data it collects in Shopify as Custom Data using metafields and metaobjects. We use this data to build all of our storefront extensions so your store loads as quickly as possible. If you want to build custom experiences using Liquid, you can reference them the same way. Learn more about accessing metafields in your Liquid code on Shopify.
For comprehensive guides and code examples, see our Liquid API documentation.

Available Customer Metafields

All metafields use the lantern.customer namespace unless noted otherwise and are automatically updated by Lantern:

Customer Profile

Loyalty Program

Referral Program

Quick Start Examples

Show Loyalty Status

Display Referral Code

Show Available Rewards Count

Check Store Credit Balance

Display Wishlist Count

Show Custom Properties

Display Recent Activity