---
title: "DraftOrderDiscountNotAppliedWarning.priceRule removed in GraphQL Admin API 2026-10"
url: https://daily.dev/posts/draftorderdiscountnotappliedwarning-pricerule-removed-in-graphql-admin-api-2026-10-egcleiopz
source_url: https://shopify.dev/changelog/remove-pricerule-from-draft-order-discount-warning
type: article
source: "Shopify Developer changelog"
published: 2026-06-23T18:17:21.716Z
updated: 2026-06-23T18:17:37.821Z
tags: ["graphql", "shopify"]
reading_time: 2
upvotes: 0
comments: 0
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

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

**[Shopify Developer changelog](https://daily.dev/sources/shopifychangelog)** · 2 min read · 0 upvotes · 0 comments

## Summary

Shopify's GraphQL Admin API version 2026-10 removes the deprecated `priceRule` field from the `DraftOrderDiscountNotAppliedWarning` object. Apps querying `priceRule` in draft order discount warnings (from mutations like `draftOrderCalculate`) must migrate to the direct `discountTitle` and `discountCode` fields before upgrading. This also removes the legacy `PriceRule` object and related types from the public schema in 2026-10 and later. Older API versions continue to expose the field until end of life.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://shopify.dev/changelog/remove-pricerule-from-draft-order-discount-warning>

## Similar posts on daily.dev

- [discountedUnitPrice on DraftOrderLineItem Customer Account API deprecation](https://daily.dev/posts/discountedunitprice-on-draftorderlineitem-customer-account-api-deprecation-bpdfoy67l) · Shopify Developer changelog · 0 upvotes · 0 comments
- [Discount application information now available for draft orders on the Customer Account API](https://daily.dev/posts/discount-application-information-now-available-for-draft-orders-on-the-customer-account-api-9aixlo74c) · Shopify Developer changelog · 0 upvotes · 0 comments
- [DraftOrderLineItem.grams field removed in 2026-07](https://daily.dev/posts/draftorderlineitem-grams-field-removed-in-2026-07-zygcuette) · Shopify Developer changelog · 0 upvotes · 0 comments
- [GraphQL ProductTaxonomyNodes Query Fields Deprecation](https://daily.dev/posts/graphql-producttaxonomynodes-query-fields-deprecation-5yvfxlii2) · Shopify Developer changelog · 0 upvotes · 0 comments
- [InventoryLevel.scheduledChanges field is being removed with no replacement](https://daily.dev/posts/inventorylevel-scheduledchanges-field-is-being-removed-with-no-replacement-2aezjvkin) · Shopify Developer changelog · 0 upvotes · 0 comments

---

Tags: [#graphql](https://daily.dev/tags/graphql), [#shopify](https://daily.dev/tags/shopify)

[View this post on daily.dev](https://daily.dev/posts/draftorderdiscountnotappliedwarning-pricerule-removed-in-graphql-admin-api-2026-10-egcleiopz)
