← Latest Shopify changes
Action / breaking change

`DraftOrderDiscountNotAppliedWarning.priceRule` removed in GraphQL Admin API 2026-10

Action RequiredAPIBreaking API ChangeGraphQL Admin API2026-10

Shopify developer change

MerchantDiff detected this entry in Shopify's official developer changelog on June 23, 2026.

This Shopify update is categorized as Action Required, API, Breaking API Change, GraphQL Admin API, 2026-10.

What changed

Starting with GraphQL Admin API version 2026-10, the deprecated priceRule field on the DraftOrderDiscountNotAppliedWarning object is removed. This is a breaking change for apps that query priceRule on DraftOrderDiscountNotAppliedWarning, which is returned in draft order discount warnings from mutations such as draftOrderCalculate, draftOrderCreate, and draftOrderUpdate. If your app selects priceRule in these responses, you must update those queries before upgrading to 2026-10. The warning already exposes the relevant discount data directly, so you no longer need the legacy priceRule object. Use the following fields instead: discountTitle — the title of the discount that couldn’t be applied.

Who is affected

Apps that create, manage, or depend on Shopify discount functionality should review this change.

What action may be needed

Check your codebase for use of the affected surface. If it is in use, review Shopify's official migration guidance and replace or remove the dependency before adopting the affected API version.

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 →