---
title: >-
  New field for discount classes on DraftOrderPlatformDiscount - Shopify
  developer changelog
description: >-
  Shopify’s developer changelog documents all changes to Shopify’s platform.
  Find the latest news and learn about new platform opportunities.
source_url:
  html: >-
    https://shopify.dev/changelog/posts/new-field-for-discount-classes-on-draftorderplatformdiscount
  md: >-
    https://shopify.dev/changelog/posts/new-field-for-discount-classes-on-draftorderplatformdiscount.md
metadata:
  effectiveApiVersion: 2025-07
  affectedApi:
    - displayName: Admin GraphQL API
      handle: admin-graphql
  primaryTag:
    displayName: API
    handle: api
  secondaryTag:
    displayName: Deprecation announcement
    handle: deprecation-announcement
  indicatesActionRequired: true
  createdAt: '2025-03-18T08:19:11-04:00'
  postedAt: '2025-07-01T12:00:00-04:00'
  updatedAt: '2025-06-09T07:56:10-04:00'
  effectiveAt: '2025-07-01T12:00:00-04:00'
---

July 1, 2025

# New field for discount classes on `DraftOrderPlatformDiscount`

DateJuly 1, 2025

Version[2025-07](https://shopify.dev/changelog?api_version=2025-07)

Flags[Deprecation announcement](https://shopify.dev/changelog?filter=deprecation-announcement)[Action required](https://shopify.dev/changelog?action_required=true)

SurfacesAPI

Affected APIs[Admin GraphQL API](https://shopify.dev/changelog?api_type=admin-graphql)

The `discountClass` field in the `DraftOrderPlatformDiscount` object has been deprecated. Please use the `discountClasses` field instead, which allows for the representation of multiple discount classes associated with the backing price rule of the `DraftOrderPlatformDiscount`.

To determine the specific impact of a `DraftOrderPlatformDiscount` on a draft order, continue using the [`presentationLevel`](https://shopify.dev/docs/api/admin-graphql/2025-07/objects/DraftOrderPlatformDiscount#field-presentationlevel) field.
