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."
Thanks to all Community members that participated in our inaugural 2 week AMA on the new E...By Jacqui Mar 10, 2023
Upskill and stand out with the new Shopify Foundations Certification programBy SarahF_Shopify Mar 6, 2023
One of the key components to running a successful online business is having clear and co...By Ollie Mar 6, 2023