Feature request: Context-aware variant availability Variant.publishedInContext

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.