Focuses on API authentication, access scopes, and permission management.
We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more
Hello,
Im trying to develop an external web app that needs access to data like sales, revenue, customers, orders etc. to make calculations about expenses
The goal i want to achieve:
- user adds an app from shopify marketplace to his shop
- on the external web app, user can log-in and see the data about his store, that he added the shopify embedded app to.
And my question here is:
How i can achieve this data in external app? How would look like the communication between the shopify embedded app, and my external web app?
I want it to be public app, so it should work like every user can add app to his store, and then log-in on external service to see data about their shop.
I assume there is some type of authentication, but how would it work?
What i have read is that we can access stores in private apps, by getting api secret key and selecting a shop name in the URL, but this is not my solution.
There is no need for any frontend on shopify embedded app. It should work only as a connector to external app, to provide the needed data
Thanks a lot for help, have a nice day
Hi Belo,
This does sound like a typical use case for a Shopify app/ accessing the Shopify API - similar to how an ERP would be able to access order/ customer data etc. For this, you'd likely create a custom app and enable access scopes for orders, customers etc and when you make calls to the Admin API you'll be able to query and transfer data to the external app/ platform.
Liam | Developer Advocate @ 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