# No simple way to check variant Online Store publication

**URL:** <https://community.shopify.dev/t/no-simple-way-to-check-variant-online-store-publication/35620>\
**Category:** Products and Orders APIs\
**Tags:** admin-api-variants\
**Created:** [June 28, 2026, 6:49pm UTC](https://community.shopify.dev/t/no-simple-way-to-check-variant-online-store-publication/35620 "2026-06-28T18:49:35Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Donal-Shopify](https://sea1.discourse-cdn.com/shopifycommunity/user_avatar/community.shopify.dev/donal-shopify/32/10850_2.png) [@Donal-Shopify](https://community.shopify.dev/u/Donal-Shopify)\
**Post date:** [June 29, 2026, 7:36am UTC](https://community.shopify.dev/t/no-simple-way-to-check-variant-online-store-publication/35620/2 "2026-06-29T07:36:00Z")

</div>

Hey @Angelina_Prokopeva - I had a look into this for you!

In 2026-07 the [ProductVariant](https://shopify.dev/docs/api/admin-graphql/latest/objects/ProductVariant) picks up the [Publishable](https://shopify.dev/docs/api/admin-graphql/latest/interfaces/Publishable) interface, and there’s no dedicated `publishedOnOnlineStore` or variant-level `publishedInContext` field, so you’re correct that `publishedOnPublication(publicationId:)` is the supported per-variant check. You’re also right that `product.publishedAt` and `availableForSale` answer different questions, the latter being “can a buyer purchase this on the storefront” rather than “is it published to this channel”.

Playing around on my test store, the publication ID part was less painful than it looks because that ID is stable per shop. The one gotcha is matching, since `publication.name` is deprecated and `catalog.title` comes back as an auto-generated string like “Channel Catalog … for Online Store”. Match on the channel handle `online_store` instead, which is stable and not localized:

```graphql
query {
  publications(first: 50, catalogType: APP) {
    edges { node { id channels(first: 1) { nodes { handle name } } } }
  }
}

```

If you’d rather skip the cached ID entirely, `resourcePublicationsV2` on the variant gives you the full set of channels in one call, and you can pick out the Online Store entry by that same handle. The [variant-level publishing guide](https://shopify.dev/docs/apps/build/sales-channels/product-publishing#variant-level-publishing) covers the 2026-07 behavior and recommends reading variant publication state through that field.

A first-class variant-level “published on Online Store” field is absolutely reasonable feedback, so I’ve passed it along to the relevant team internally as a feature request - thanks for raising this here!

---

_[View the full topic](https://community.shopify.dev/t/no-simple-way-to-check-variant-online-store-publication/35620)._
