Developing APP with API permissions

Highlighted
New Member
2 0 1

I am currently working on creating an app that will need API permissions. When I am in the Partners login and try to create an APP I am not able to give the APP permissions that would allow me to modify: Pages, Themes, and more. So when I go to add the APP from the admin from the setup panel there is this option:

Test your app by installing it on your own development store. You will see what merchants see.

After adding the app I do not have the option of using the api for the development store I created. instead I get this response from an API post:

[API] This action requires merchant approval for read_content scope.

Am I working in the wrong way? Do I need to just create a private APP from within the development store to get the access I need to develop using the API?  

Any information would be greatly appreciated. 

0 Likes
Highlighted
Shopify Partner
12 0 1

Hi Corey,

you need to install the app within your store following the process from the dev documentation. Look at the chapter "Step 2: Ask for permission" in https://help.shopify.com/en/api/getting-started/authentication/oauth

 

Edit: Did you include read_content in your installation URL as follows?
https:// {shop}.myshopify.com/admin/oauth/authorize?client_id={api_key}&scope={scopes}&redirect_uri={redirect_uri}&state={nonce}&grant_options[]=read_content

1 Like
Highlighted
New Member
2 0 1

Yup! That was the problem. I had left that section out of the code I was using! Thank you for your help!

1 Like
Highlighted
Shopify Partner
12 0 1

Cool, I'm happy that it worked! ;)

0 Likes
Highlighted
New Member
5 0 0

How can we update the permissions? e.g. I want to do something that requires a new permission and I want to notify all the users of the new permission.

0 Likes