How to get "Sales channel access" in Discount via GraphQL admin

Topic summary

A developer is seeking a way to manage “Sales Channel Access” for discounts through Shopify’s GraphQL Admin API. The inquiry includes a screenshot highlighting the specific UI feature they want to control programmatically.

Current Status:

  • This functionality is not currently available via the API
  • Existing API functions like publishablePublish and publishableUnpublish only work for products and collections, not discounts
  • The publications() query can list sales channels but cannot modify discount access

Next Steps:

  • A feature request may be submitted to the Shopify developer forum to add this capability
  • The discussion remains open with no immediate solution available
Summarized with AI on October 31. AI used: claude-sonnet-4-5-20250929.

Hi everyone,

I’m trying to figure out how to access the “Sales Channel Access” feature in the Discounts section using the GraphQL Admin API. I’ve attached an image where I’ve highlighted the specific area I’m referring to.

Can anyone provide guidance or examples on how to retrieve or set this access? Any help would be greatly appreciated!

Hi Quoclucnguyen,

It’s not possible. I recently went down a rabbit hole to try to figure this out.

There are functions in the API such as publishablePublish and publishableUnpublish, but they’re only usable for products and collections.

You can use th publications() query to list the sales channels, but it’s not useful, as you can’t do anything to discounts with them via the API.

I plan to eventually open a feature request thread about this in the Shopify developer forum. If/when that happens, I’ll link it here…

Best,

Tobe

Hi Tobe,
Thank for you reply