New Shopify Certification now available: Liquid Storefronts for Theme Developers

API to show customer discount on their profile page?

Shopify Partner
3 0 0

I'd like to build an embedded app that shows any discount codes a customer has on their profile page.


I believe I'd need the Storefront API for this, but looking through the Customer and DiscountNode objects in GraphiQL, I can't see any properties that let me retrieve discount codes for a customer. Am I looking in the wrong place, or is this currently not available?


Thanks in advance for any help.

Replies 0 (0)