How to get all sales channels via the REST API?

Topic summary

Goal: retrieve all sales channels and associate a product with a sales channel using the Shopify Admin REST API.

Key answer: this is not supported via REST. The capability exists in the Admin GraphQL API:

  • Retrieve active sales channels with the channels query (Admin GraphQL 2021-10).
  • Publish a product to a channel using the publishablePublish mutation.

Implementation note: apps can mix REST and GraphQL calls; no need to fully migrate to GraphQL to use these features.

Latest updates: subsequent posts ask if there’s any change after months/years and express reluctance to adopt GraphQL. No new official update is provided in the thread, and there’s no indication that REST has gained this capability.

Status: unresolved for REST; functionality remains GraphQL-only, discussion effectively open.

Summarized with AI on January 13. AI used: gpt-5.

I need to get all the sales channels but I can’t find the endpoint to retrieve them.

Can you help me please ?

I also need to create a product and associate it with a sales channel.

Hi @BLC-Nicolas

You can retrieve active sales channels via the channels object in GraphQL - https://shopify.dev/api/admin-graphql/2021-10/queries/channels

Regarding creating a product and associating it with a channel - you can publish a product to a channel as described here: https://shopify.dev/api/admin-graphql/2021-10/mutations/publishablepublish

Regards,

Thanks @csam ,

For now, I am working with the REST API, is it possible to do that with it ?

Hi @BLC-Nicolas

No, it’s not possible via our REST API. In general some features will be added to GraphQL and may not be included on the REST version. Your application can make both types of calls - there’s no need to switch the entire application over all at once to GraphQL in order to use these features.

Kind regards,

1 Like

Hi, Shopify experts … any news after lots of months and years? Thanks

1 Like

Seconding this, any news on if/when this is going to happen? We’re also using the REST API, and really don’t want to venture down the GraphQL rabbit hole since we’re already down the REST rabbithole…

2 Likes