How do we know when a new store adds my app

jagadish97
New Member
3 0 0

Are there any webhooks that triggers every time when a new store adds my app 

Replies 3 (3)
james-langille
Shopify Staff (Retired)
Shopify Staff (Retired)
70 15 25

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!

james-langille | Developer @ 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

jagadish97
New Member
3 0 0

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 

Gudata
New Member
5 0 0

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