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

Shopify Partner
1 0 0



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.

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)