ST-2026-124 · API endpoints & versions
Shopify deprecates DraftOrderLineItem.discountedUnitPrice
Customer Account API 2026-07 deprecates discountedUnitPrice on DraftOrderLineItem and replaces it with approximateDiscountedUnitPrice.
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.
Affected users
Who needs to care
Customer Account API 2026-07 clients querying DraftOrderLineItem discounted prices.
Required response
What to do
Update GraphQL selections and downstream semantics to use approximateDiscountedUnitPrice and preserve its approximate calculation boundary.
Evidence 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
- Field deprecated in API 2026-07
Shopify introduced approximateDiscountedUnitPrice as the replacement.
Evidence ledger
First-party sources
- 01Shopify Developer Changelog — discountedUnitPrice on DraftOrderLineItem Customer Account API deprecation
Official field-deprecation changelog · 2026-07-01
Open official source ↗