Skip to main content
All CollectionsDeveloper & API Documentation
Accessing your customer's loyalty data through Shopify Metafields
Accessing your customer's loyalty data through Shopify Metafields

Another big step in our commitment to creating an open loyalty platform for full customization

Stuart Chaney avatar
Written by Stuart Chaney
Updated over 10 months ago

✨ Metafields available on the Plus plan. See pricing β†’

One of the biggest requests we've had since we began our journey to build our open platform, is the ability to access Rivo data directly inside of liquid templates.

We've built a scalable solution tested across Plus stores with hundreds of thousands of customers that syncs almost instantly.

Expose customer data in Liquid theme code

Display a customer's points balance

{{customer.metafields.custom.rivo.value.points_balance}}


Display a customer's VIP tier

{{customer.metafields.custom.rivo.value.vip_tier}}

Display a customer's Referral URL

{{shop.url}}/?referral_code={{customer.metafields.custom.rivo.value.referral_code}}

Expose customer data in Shopify Email templates

To display Rivo customer metafields in Shopify Liquid email templates, add them in the code editor and drop value from the metafield:

Display a customer's points balance

{{customer.metafields.custom.rivo.points_balance}}


Display a customer's VIP tier

{{customer.metafields.custom.rivo.vip_tier}}

Display a customer's Referral URL

{{shop.url}}/?referral_code={{customer.metafields.custom.rivo.referral_code}}
Did this answer your question?