Focuses on API authentication, access scopes, and permission management.
Hi, I am new to Shopify App development, but I have to build a fairly complex app on top of NodeJS and ReactJS. I got stuck with receiving webhook notifications from an external server. I have developed a POST API endpoint in my app to work as a webhook receiver. But the problem is that I need help accessing the API's endpoint (built in the app) from outside the Shopify store.
API endpoint of my app is:
https://app_url/api/notification_reciever
I also have set up an App proxy like this:
https://app_url/proxy_route/api/notification_reciever
And I can access the endpoint from the theme:
https://store_url/api/notification_reciever
How can I access the API endpoint from the outside world with the POST/GET method? I am eagerly waiting for help; any tips are valuable to me in this regard.
Thanks in advance 🙂
Hi Rousnay!
Great to hear you're working on a Shopify app project! Where is the app currently hosted? If you want to be able to make API calls you should ensure that your app's API endpoint is hosted on a publicly accessible server. When you make a post request to https://app_url/api/notification_reciever what are you seeing?
Hope this helps!
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
Thanks again Liam 🙂
I got the same issue. Did you solve it?
any update? 🙏