Re: How do we know when a new store adds my app

How do we know when a new store adds my app

jagadish97
Visitor
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)
70 15 28

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.

jagadish97
Visitor
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