What's your biggest current challenge? Have your say in Community Polls along the right column.

Re: Getting additional permission on existing installation for public app

Getting additional permission on existing installation for public app

capabl
Shopify Partner
1 0 3

We have our app installed on many of our client's stores on shopify. Now, after a latest deprecation by shopify we need to get few more permission from our app's existing installations.

capabl_0-1672842274286.png

I read at shopify's doc that we don't need to ask our customers to explicitly grant us the additional permissions.

capabl_1-1672842374553.png

and for this purpose, we need to perform a post call for shopify's admin REST API.

capabl_2-1672842449697.png

but when I am trying to make a post call, I am getting a 302 Not Found error.

I am posting how I am trying to perform that below:

1. using the creds of one our dev stores.

capabl_3-1672842555561.png

2. these are param values in above posted post url

capabl_4-1672842607540.png

3. following header are being sent

capabl_5-1672842664333.png

4. here is the body, we only require read permission for this

capabl_6-1672842698558.png

 

I am getting an error response for this post call:

capabl_7-1672842756332.png


Question 1: Is my understanding correct?

Question 2: What is wrong in the process I am following?

Reply 1 (1)

DAmphucs
Shopify Partner
2 0 0

Hello. I'm also having the same problem. I don't know if you have solved this problem yet? Can you send me the shopify reference, I can't find it. And if possible, please tell me your solution???