Establishing sales channels to an Api Rest product

Shopify Partner
2 0 0

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.

Replies 2 (2)

Shopify Staff
2731 302 783

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 or the Shopify Web Design and Development Blog

Shopify Partner
2 0 0

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