Feature request: Context-aware variant availability Variant.publishedInContext

Before independent variant publishing, Product.publishedInContext provided a clear way to determine product visibility for a buyer context.

Also would be super useful if Shopify would provide an easier way to identify if the variant is published in the online store with Admin API.

With variant-level publishing in API 2026-07, there is now a gap in the Admin GraphQL API: ProductVariant exposes only publishedOnPublication(publicationId:), with no context-aware equivalent.

availableForSale is not an alternative because it represents inventory and overselling behavior, not publication visibility.

The current approach does not scale well. It requires additional publication discovery, pagination, caching, and potentially many aliased fields. This increases query-document and response size while adding pressure to applications already operating under tight Admin API query-cost limits.

For our app it is crucial functionality to understand if a product is available to buyer, but with the latest Shopify release there is a significant gap.

Is Shopify planning to add a context-aware field such as ProductVariant.publishedInContext, using the same resolution logic as the existing product-level field?

Hey @Angelina_Prokopeva , thanks for the feature request. This is the same gap you raised in your other thread on checking variant Online Store publication, and you’re reading the schema correctly. In 2026-07 Product keeps publishedInContext(context:), but ProductVariant doesn’t get a context-aware equivalent, only the Publishable interface with publishedOnPublication(publicationId:) as the per-variant check.

I’ve already logged this feedback internally off the back of your other thread, so a first-class ProductVariant.publishedInContext is with the relevant team. I can’t commit to whether or when it lands so for a working approach in the meantime, the resourcePublicationsV2 route I described on that thread still applies.

Thanks for confirming and for logging this.

I just want to say that this feature is really important. We need to know if a variant is published and visible for a buyer context, and right now there isn’t a reasonable way to check that.

We’d really appreciate any updates on this, and we hope this can be prioritized.