A space to discuss GraphQL queries, mutations, troubleshooting, throttling, and best practices.
Hi there.
I’m creating products through an app using GraphQL and I’m wondering if I can set the sale channel availability for the newly created product.
I’m currently only creating products for the online store, but I may need to create for different channels later on.
Thanks!!
Hi @LePong,
We do have the Publication object, but the required scope (read_publications/write_publications) is currently a protected scope that we are still building out a process for applying for. I'd recommend staying subscribed to our Developer Changelog for any updates to the availability of this object.
Cheers,
To learn more visit the Shopify Help Center or the Community Blog.
Has there been any development on this?
I would like to know this too. Making write_publications scope only available to Plus stores is ridiculous..
Just found an solution:
1) You can currently publish a product to the online store via the deprecated 'published' field on the productCreate mutation
2) You can publish to any sales channel with the PublishablePublish mutation.
You can find the original answer here.
Hi Shopify. Any updates?