API · SDK · runtime · authentication lifecycle intelligence

Last updated · 9 September 2026

SchemaTrace

Breaking changes, enforcement dates and migration requirements.

ST-2026-124 · API endpoints & versions

Shopify deprecates DraftOrderLineItem.discountedUnitPrice

Customer Account API 2026-07 deprecates discountedUnitPrice on DraftOrderLineItem and replaces it with approximateDiscountedUnitPrice.

ShopifyCustomer Account APIDraftOrderLineItemGraphQLdeprecation

Previous state

Customer Account API queries read DraftOrderLineItem.discountedUnitPrice for a per-unit discounted value.

Current state

Queries should use approximateDiscountedUnitPrice, calculated as the discounted total divided by quantity.

Who needs to care

Customer Account API 2026-07 clients querying DraftOrderLineItem discounted prices.

What to do

Update GraphQL selections and downstream semantics to use approximateDiscountedUnitPrice and preserve its approximate calculation boundary.

What the source does not prove

This is a field-level deprecation, not removal of DraftOrderLineItem, Draft Orders or the wider Customer Account API. Shopify does not state a removal date in the announcement.

Lifecycle history

Dated event sequence

  1. Field deprecated in API 2026-07

    Shopify introduced approximateDiscountedUnitPrice as the replacement.

Evidence ledger

First-party sources

  1. 01
    Shopify Developer Changelog — discountedUnitPrice on DraftOrderLineItem Customer Account API deprecation

    Official field-deprecation changelog · 2026-07-01

    Open official source ↗