Development discussions around Shopify APIs
I'm trying to Publish or UnPublish a Product On Sale Channel Google through Graphql API. Is this even possible?
Hi @cbrl1974 👋
You should be able to publish/unpublish products with the `publishablePublish` mutation. Keep in mind that you'll need the `write_publications` access scope which is only available to custom apps installed on Shopify Plus stores at this time.
Hope that helps!
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
It seems that is only possible for Shopify Plus stores, "Requires write_publications access scope. This scope is currently available only to custom apps installed on Shopify Plus stores. Contact Shopify Partner Support to enable the scope for your app. Also: You must have read access to product_listings and Storefront API permissions to read products, variants, and collections."
User | RANK |
---|---|
12 | |
6 | |
5 | |
5 | |
5 |
Learn these 5 things I had to learn the hard way with starting and running my own business
By Kitana Jan 27, 2023Would you love to unleash the unbridled power of the Google Shopping Channel into your sho...
By Gabe Jan 6, 2023How can you turn a hobby into a career? That’s what Emmanuel did while working as a wa...
By Skye Dec 30, 2022