Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

How to implement a discount for a Headless Store using the Storefront API?

How to implement a discount for a Headless Store using the Storefront API?

JoaoFagner
Shopify Partner
1 0 0

 

Hello,

I'm working on a headless store theme using the shopify storefront API.


I would like to ask, what is the best way to implement a headless store discount, even the entry discount by input field or the variant discount?

I'm following the storefront documentation and API which I couldn't find.

https://shopify.dev/docs/api/storefront

In the documentation I did not find the flow because it should be implemented according to the API step by step.

I'm at a loss, I would really appreciate it if you could provide some example instructions or tips.



Thanks from a desperate guy

Replies 0 (0)