I’m trying to update our API version to the latest version meaning I need to update how we handle fulfilments. I’m trying to make a GET request to https://xxx.myshopify.com/admin/api/2023-04/orders/XXX/fulfillment_orders.json following the documentation however I’m receiving a Bad Request response and if I try to access that URL whilst logged in via a web browser I get a
api_client does not have the required permission(s).
I was trying to make a test request outside the app previously, making it through the app I also get a 403 forbidden. I went to the app in the partners dashboard and there wasnt a protected customer data, only orders, subscriptions, payment mandate, Checkout UI extensions and post-purchase. I have made sure I’ve got the scopes.
Hi again Tom - that 403 does still suggest a permissions related issue. Even though you’re trying to make a GET request, do you have all the read permissions for fulfilment related scopes?
I’ve added to scopes to my .env to be passed through but I think I need to somehow update the scopes given by the app in partners, is there an easy way to do this without uninstalling and reinstalling the app?
Hi Tom - you don’t need to uninstall/reinstall to accept the new scopes, you can use the same the authorization URL that was used to install the app originally. It would look something like: