Topics covering webhook creation & management, event handling, Pub/Sub, and Eventbridge, in Shopify apps.
Are there any webhooks that triggers every time when a new store adds my app
Hello @jagadish97, no, there is no webhook that triggers when your app is installed on a store. However, when it is your app should be able to see that happen as a part of the installation process in a request to the route you define as your App URL in the partners dashboard.
Hopefully this helps!
To learn more visit the Shopify Help Center or the Community Blog.
In documentation it is mentioned that , the moment a merchant clicks on add app , the first screen we should see is Oauth permissions screen , but how do we authenticate the user if we have to show the oauth flow initially
During the oauth flow you will know which is the store.
Check one of the sample applications. Most of them work enough.
" the first screen we should see is Oauth permissions screen" - those are the permissions which your app wants to have. Not the permissions based on the user