fulfillment orders returning {"errors":"The api_client does not have the required permission(s)."}

Tourist
7 0 3

When trying to use the fulfillment orders API, we are getting the following error message.

{"errors":"The api_client does not have the required permission(s)."}

browntaped_0-1595821316303.png

What permissions are needed for this?

Shopify Staff
Shopify Staff
193 23 33

Hey @browntaped 

Check out our scopes documentation here. You will likely need one of "read_assigned_fulfillment_orders", "read_merchant_managed_fulfillment_orders", or "read_third_party_fulfillment_orders".

Kevin_A | Developer Support @ Shopify
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Click Accept as Solution 

0 Likes
Shopify Partner
18 0 3

Hi, I am running into the same issue (after setting up permissions). 

I am using a private app.

Thanks,

0 Likes
New Member
1 0 0

May I ask, if you figured it out?
I have the same problem. All permissions are set, but I keep getting the message that my api_client doesn't have the authorization to access fullfillment orders.

0 Likes
Shopify Partner
18 0 3

No luck. I have all permissions set and I am still getting {"errors":"The api_client does not have the required permission(s)."}

Does anyone know how to make this work. I really need to get location info for unfulfilled orders. 

TIA.

0 Likes
Shopify Staff
Shopify Staff
193 23 33

Hey @Paul_McWhinnie 

Can you post your request ID header? 

Kevin_A | Developer Support @ Shopify
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Click Accept as Solution 

0 Likes
Shopify Partner
18 0 3

Hey back!

I have been testing from chrome (after logging in to my site)

https://smart-ho-omni-channel-qa.myshopify.com/admin/api/2020-10/orders/2915562619038/fulfillment_or...

All associated/relevant private app credentials are set to read.

0 Likes
Shopify Staff
Shopify Staff
193 23 33

Hey @Paul_McWhinnie 

Try making the call from an API client using a private app secret that has permission for fulfillment orders. You might also be able to try from in chrome using the https://<key>:<secret>@store.myshopify.com/admin/api/2010-10/..... format. 

Kevin_A | Developer Support @ Shopify
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Click Accept as Solution 

0 Likes
Shopify Partner
18 0 3

Hi Kevin_A,

Already tried that.. same result.

Can you talk to the developers and see if this is a bug in Shopify?


Thanks,

0 Likes
Shopify Staff
Shopify Staff
193 23 33

Hey @Paul_McWhinnie 

When using an API client, you should be able to see the response headers. If you could pass me the request id response header, I can take a look in our logs for you. 

Kevin_A | Developer Support @ Shopify
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Click Accept as Solution 

0 Likes