Skip to content

Sep 29, 2026

Features

Build your own loyalty experience on the Charm API

Stores that run a custom storefront (Hydrogen, Next.js, a Lovable build, a mobile app) can now build their loyalty program's pages without writing a backend for it.

Customer session tokens. Your server asks Charm for a short-lived token for the signed-in shopper, and the browser or app calls the Charm API directly with it. A token acts for that one customer only, never does more than the key that created it, and stops working the moment you revoke that key.

No backend needed. A theme store adding its own loyalty UI gets a token for the signed-in shopper straight from its own storefront. A browser-only storefront or mobile app that signs shoppers in with Shopify's customer accounts trades their Shopify sign-in for a Charm token; Charm checks with Shopify who the shopper is.

A whole loyalty page in one call. One request returns the balance, the tier and the gap to the next one, the rewards at the customer's price with a clear reason when one can't be redeemed yet, the latest history in the shopper's language, the program and the referral link.

Points estimates. Show "earn 240 points" on a product page or for the whole cart, calculated exactly like the order award: exclusions, tax handling, campaigns and the customer's tier included.

Everything shoppers do for themselves. Joining the program, setting a birthday, adding children and pets, claiming a way to earn, pulling a tier gift and redeeming a reward straight into the cart work from your own storefront exactly as in the Charm widget, with the same rules and limits.

Referrals without the widget. When a friend arrives through a member's link, one call returns the friend's discount and attributes the order to the member, with the same protection against self-referrals and returning customers. Shares of a member's link from your site or app are counted too.

The API documentation got a quickstart, a reference for every endpoint and field, and a catalog that explains every error and how to fix the call. Everything is available on every plan, free included. Start with the headless guide or the quickstart.