Sales channel visibility via API

New Member
1 0 5


What are my options for altering sales channel visibility for products that I want to "unpublish"? If I go the route of unpublishing it (by putting published_at to null), then it will kill our back links to that product.

Replies 30 (30)
Shopify Staff (Retired)
531 1 102

Hey Pete,

Setting published_at to null will unpublish the product from online store - the product page 404'ing is an intentional side effect of this.

If you're trying to control the visiblity of a product on a channel other than Point of Sale or Online Store, this is not possible via the API at the moment.

If I've missed the mark here, let me know if I can assist further.

Shopify Partner
55 0 11

Hi Jamie, 

any update on this topic? I'd like to control custom collection sales channel visiblity for my sales channel app.

Best regards,


Shopify Partner
7 0 2

Does anyone know of an alternative product that offers this feature, or of a work around? I have found like 10+ threads on this exact issue dating 2 years back with no new replies.

Shopify Partner
13 0 1

We also need to control sales channels via the API. 

Shopify will you add this to your API please? If not why not?

I  have a custom app to list items on my Shopify and I can add all the information I want this way but can't set the visibility on sales channels other than Online and POS. 

Why oh why? 

Shopify is ace
Shopify Partner
5 0 1

Is it still NOT possible to set the visibility on sales channels other than Online and POS by API call or by any coding like liquid? This must be possible cuz bulk uploading products in csv causes a lot of pain to shop owners like me trying to add sales channels to hundresd or thousands of products one by one!

13 0 6

Bump. We are also looking for this functionality.

New Member
1 0 1

Any updates?

Bump. We need this as well for a project we are working on.

Shopify Partner
19 0 2

This makes no sense that there is no feature for this. Every time I add a new product (via api) it doesn't automatically add them to all the sales channels I have to click each and every product to enable each sales channel (instagram, facebook) has to be a faster way?!?!?!

Shopify Partner
9 0 0

We are struggling with exactly same issue - the API for controlling product enlistment in custom sales chanel is highly needed..