A space to discuss GraphQL queries, mutations, troubleshooting, throttling, and best practices.
Hi!
So I've gotten the publication scope enabled for my app, but I can't seem to figure out how to set the sales channels for a product.
I see in the documentation that I'm supposed to use the publishablePublish mutation, but nothing I do allows me to get past this error:
Error: GraphQL error: Your app doesn't have a publication for this shop.
I have given read/write permissions to the app, in fact I've given the app ALL read/write possible just to make sure, and still no dice.
Any guidance would be greatly appreciated!
Thanks!
Solved! Go to the solution
This is an accepted solution.
I figured it out.
The app needed storefront api access to set the product to Online Store.
This is an accepted solution.
I figured it out.
The app needed storefront api access to set the product to Online Store.
Hi LePong,
I'm also experiencing this issue when building a custom app. Also I'm getting Oauth error missing_shopify_permission: read_publications when trying to install my app.
Would you mind letting me know how a custom app can get storefront api access?
Thanks.
But how do I give my App storefront api access ?