---
title: >-
  discountedUnitPrice on DraftOrderLineItem Customer Account API deprecation -
  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/discountedunitprice-on-draftorderlineitem-customer-account-api-deprecation
  md: >-
    https://shopify.dev/changelog/discountedunitprice-on-draftorderlineitem-customer-account-api-deprecation.md
metadata:
  effectiveApiVersion: 2026-07
  affectedApi:
    - displayName: Customer Account API
      handle: customer-account-graphql
  primaryTag:
    displayName: API
    handle: api
  secondaryTag:
    displayName: Deprecation Announcement
    handle: deprecation
  indicatesActionRequired: false
  createdAt: '2026-03-31T14:47:23-04:00'
  postedAt: '2026-07-01T12:00:00-04:00'
  updatedAt: '2026-06-30T14:43:41-04:00'
  effectiveAt: '2026-07-01T12:00:00-04:00'
---

July 1, 2026

Tags:

* Customer Account API
* 2026-07

# `discountedUnitPrice` on `DraftOrderLineItem` Customer Account API deprecation

The [`discountedUnitPrice`](https://shopify.dev/docs/api/customer/2026-04/objects/DraftOrderLineItem#field-DraftOrderLineItem.fields.discountedUnitPrice) field on the [`DraftOrderLineItem`](https://shopify.dev/docs/api/customer/latest/objects/DraftOrderLineItem#top) object in the Customer Account API is now deprecated.

Use [`approximateDiscountedUnitPrice`](https://shopify.dev/docs/api/customer/2026-07/objects/DraftOrderLineItem#field-DraftOrderLineItem.fields.approximateDiscountedUnitPrice) instead. This new field calculates the discounted total divided by the quantity, resulting in an approximate per-unit price reduction. Update your queries to use `approximateDiscountedUnitPrice`.
