Establishing sales channels to an Api Rest product

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.

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