APIs & Documentation
Use our public API to build your own loyalty page or bring Crowny into your Shopify storefront. We're continually expanding what it can do.
TypeScript
1// Fetch a public loyalty program from the Crowny API
2const res = await fetch(
3 `https://public.apis.crowny.io/program/${programID}`
4);
5
6const program: Program = await res.json();
7console.log(program.name, program.tiers);