I am running into an issue when trying to test the Fulfillment Constraints function.
I keep getting this error from the Shopify GraphQL Admin app, however I have the scope deployed, linked to the .toml, and I have accepted the prompt to update the access scopes within my development store.
I tried to uninstall, and re-install and it did not work. I even built and deployed a Delivery Customization function to see if it was something I am doing wrong, but I think there could be something wrong on the Shopify side. It is possible I did miss something.
Are you using graphQL admin app to run the mutation query? Some scopes aren’t available within the GraphiQL app.
Use a local GraphiQL instance. If you are developing an app using Shopify CLI, you can launch GraphiQL while running the dev command by tapping the g key. Shopify CLI’s GraphiQL instance connects as your app, so it has the same access scopes as your app, and it can access data owned by your app. It can’t access data owned by other apps.
Oh yeah you shouldn’t be running this from the graphiql admin app - it doesn’t have the same permissions your app has - when you do shopify app dev in the cli it gives you a url to open up an app-scoped graphql interface where you can test queries.
I forget how I added it to the production website.
I have a custom app and I also have access to manage the store, so I can install my custom app on the production store however it needs to be hosted. Render has free hosting for shopify remix apps.
I think I added in a button click to the UI and had a mutation run onClick which allowed me to add it to the store.
There might be another way to do this, just not sure.