A space to discuss GraphQL queries, mutations, troubleshooting, throttling, and best practices.
Hi, I´m using the Rest API to create products. Is there any way to specify which sales channels will be available?
By default, when I create it, only "Point of Sale" is selected. I have been looking through the documentation but haven't seen anything about this. Has anyone been able to do it? Thank you.
Hi Dannycode,
The `published_scope` field on the product resource is what you're looking for.
Let me know if this is not working for you.
Liam | Developer Advocate @ Shopify
- Was my reply helpful? Click Like to let me 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
Hi Liam,
I have tried to set the published_scope = "global" but I have not managed to create the product to be available in all sales channels. Only the "Point of Sale" option is checked and what I want is that once the product is created it is available on all channels, including Facebook, Instagram and the online store.
I don't know if this can be done from the API Rest or if it has to be done from the Shopify admin panel. Thanks for your help