Unable to locate correct access scope

Highlighted
New Member
5 0 0

Hi, 

 

I am a developer developing a brand new unlisted app. 

 

I know that we need to specify the access scopes (https://shopify.dev/docs/admin-api/access-scopes) that the customer has to say OK to when they are installing my app. 

 

I cannot locate the right scope that will give me this information: 

  • Name

  • Shop Owner

  • Business address

    • All relevant address information is mentioned below (country, address1, zip, city, etc)

  • Domain

I know for Private App, you can use this: https://shopify.dev/docs/admin-api/rest/reference/store-properties/shop. But I cannot find the equivalent for the public unlisted app. 

 

Thanks for help!

 

0 Likes
Highlighted
Shopify Staff
Shopify Staff
1040 140 165

Hey @NewDevSR,

 

I don't believe the /shop.json endpoint requires any additional scopes. You should be able to get this information after install.

0 Likes
Highlighted
New Member
5 0 0

@scottydont Thank you for the response. 

So how exactly does this work when you have an unlisted app? What API call do I make? Is it just the one specified here: https://shopify.dev/docs/admin-api/rest/reference/store-properties/shop. I thought I must specify all the access scopes in order to get the data. 

0 Likes
Highlighted
Shopify Staff
Shopify Staff
1040 140 165

Hey @NewDevSR,

 

Once your app is installed (or if you're using a private app), you can send a request (including the access token) to:

 

GET /admin/api/2020-01/shop.json
0 Likes