Skip to main content
The customer object represents a member of your loyalty program. Customers are identified by their Shopify customer ID or email address.

Attributes

Embedded VIP tier

When present, the vip_tier object contains:

Store credit

On store-credit shops, store_credit holds the balance pre-converted to money so you do not have to do the minor-unit math. It is null in points mode. See Loyalty modes.

Example

Example (store-credit shop)

On a store-credit shop the points fields are minor units, loyalty_mode is store_credit, and store_credit is populated: