Solved

Permission error whilst trying to update tracking information

WeAreMode
Shopify Partner
4 0 3

Hello,

 

We've recently converted a client's private app to a custom app, but since doing so we are no longer able to update fulfilment tracking information. This was working fine before we converted the app but now we keep getting the following response:

 

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

 

We have the following permission scopes:

 

read_orders,write_orders,read_products,write_products,read_customers,write_customers,read_fulfillments,write_fulfillments,read_assigned_fulfillment_orders,read_merchant_managed_fulfillment_orders,read_third_party_fulfillment_orders

I've looked through all the documentation and I can't see anything that's changed or a reason why this would all of a sudden stop working.

 

A request ID for a recent example is: 

671e90b0-b93c-4ed2-9615-a61f26e4e5aa

 

Are you able to let me know what we are doing wrong and what needs to be changed?

 

Thanks!

Simon

Accepted Solution (1)

ShopifyDevSup
Shopify Staff
1321 216 456

This is an accepted solution.

Hi @WeAreMode 👋

 

The tracking that you're looking to update, is for a fulfillment created from a merchant-managed location. In this case, you'll want the `write_merchant_managed_fulfillment_orders` scope as well. We have a great migration guide, with this section on updating app permissions.

 

Hope that helps, Simon!

@Umiko 

Developer Support @ Shopify
- Was this reply helpful? Click Like to let us know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

View solution in original post

Replies 2 (2)

ShopifyDevSup
Shopify Staff
1321 216 456

This is an accepted solution.

Hi @WeAreMode 👋

 

The tracking that you're looking to update, is for a fulfillment created from a merchant-managed location. In this case, you'll want the `write_merchant_managed_fulfillment_orders` scope as well. We have a great migration guide, with this section on updating app permissions.

 

Hope that helps, Simon!

@Umiko 

Developer Support @ Shopify
- Was this reply helpful? Click Like to let us know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

WeAreMode
Shopify Partner
4 0 3

Thanks @Umiko ! That has worked for me.