← Latest Shopify changes

Storefront API `@inContext` supports `channelId`

APINewStorefront API2026-10

Shopify developer change

MerchantDiff detected this entry in Shopify's official developer changelog on July 15, 2026.

This Shopify update is categorized as API, New, Storefront API, 2026-10.

What changed

As of Storefront API version 2026-10, the @inContext directive accepts an optional channelId argument. Use channelId to apply a specific sales channel’s context to an entire query, including channel-specific product availability and pricing. Example: query Product($handle: String!, $channelId: ID!) @inContext(channelId: $channelId) { product(handle: $handle) { id title availableForSale priceRange { minVariantPrice { amount currencyCode } } } } Why it's changing The existing @inContext directive lets you set buyer context such as country and language. With channelId, you can now: Target a specific channel (for example, a marketplace or custom sales channel) when fetching products, prices, and availability. Build channel-aware storefronts that show the correct catalog, pricing, and merchandising rules for each channel.

Who is affected

Apps and storefronts using the affected Storefront API surface should review this change.

What action may be needed

Review whether the new capability is relevant to your app. If you plan to use it, test the affected API or workflow before adopting it in production.

Referenced API version: 2026-10

Use the official Shopify entry below as the source of truth for technical implementation details, affected APIs, migration instructions and deadlines.

Want the actionable version?

MerchantDiff monitors Shopify API changes, deprecations, deadlines and ecosystem updates, then turns them into developer-focused release intelligence: what changed, who is affected and what action may be needed.

Get MerchantDiff →