Custom checkout flow with DiscountCode

1 0 0


I'm trying to build an EC service backend with Shopify API so that users can purchase products on our site.
I built the private app with Admin API, but I realized that Admin API doesn't have endpoints to apply discount code to the order when checkout.
To do that, I need to build a Sales Channel App and use Checkout API, right?

At that time, do I need to make my app public and send a request for the approval process?
Although my app is only used for my service, it still needs to be built as public (unlisted) and approved (with screenshots and install instructions that no one will see)?
Are there any other solutions to build an app that provides an order function with discount codes?

I really appreciate any help you can provide.

Reply 1 (1)

Shopify Staff
318 42 61

Hey @aothk 

Would recommend you check out the Storefront API:

Kevin_A | Solutions Engineer @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit or the Shopify Web Design and Development Blog