A space to discuss GraphQL queries, mutations, troubleshooting, throttling, and best practices.
Hi,
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.
Hey @aothk
Would recommend you check out the Storefront API: https://shopify.dev/docs/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 Shopify.dev or the Shopify Web Design and Development Blog