Grant scope after installing app

test6A
Shopify Partner
23 0 12

I have a Shopify app for merchants to install with some specific scopes. Now I have some new features that need to grant more scopes to use Shopify REST Api. Can I add more scopes to a store that already installed my app? 

Replies 2 (2)

jazz-jay
Shopify Expert
96 14 18

Hi,

You will need to re-direct them to the installation page of your app if the scope has not yet been added.

 

Existing app scopes can be retrieved using this endpoint

Then just check if any new scope that you need exists in the array above, if not, then redirect the customer to the installation url.

banned
test6A
Shopify Partner
23 0 12

@jazz-jay How can I redirect the customer to the installation url? And what is the structure of the installation url?