Target discounts to specific markets
Shopify developer change
MerchantDiff detected this entry in Shopify's official developer changelog on May 08, 2026.
This Shopify update is categorized as API, New, Admin GraphQL API.
What changed
We've introduced markets as a new option in DiscountContextInput, enabling you to target discounts to specific regional markets, retail locations, or B2B company locations. This option can be used alongside existing eligibility options such as all, customerSegments, and customers. You can now set market eligibility for all discount types, including: Basic, BXGY, App, and Free Shipping discounts (both automatic and code-based). Note that eligibility types are mutually exclusive—you can target either markets OR customer segments, but not both simultaneously. What you can do: Assign market eligibility to a discount by using markets in DiscountContextInput when creating or updating a discount.
Who is affected
Apps that create, manage, or depend on Shopify discount functionality 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.
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 →