Skip to main content

discountedUnitPrice on DraftOrderLineItem Customer Account API deprecation

The discountedUnitPrice field on the DraftOrderLineItem object in the Customer Account API is now deprecated.

Use 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.

Was this section helpful?