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?