DiscountedTotalPrice on LineItem doesn’t seem to include discount

9 0 2

We have some orders that have discounts applied. Some orders have discounts applied on an order level (e.g 10% off the entire order), others have discounts are applied directly to a specific product in the order (e.g buy 2 get 1 free). However on an `Order`’s `LineItems` in the Storefront API, `discountedTotalPrice` is always equal to `originalTotalPrice`, even though that `LineItem` has `discountAllocations` returning the correct amount of discount on that `LineItem`.


Shouldn’t `discountedTotalPrice` include the discounts returned inside a `LineItem`s `discountAllocation` array? 

Replies 2 (2)

New Member
11 0 0

I'm seeing the same behavior on my end as well, discountedTotalPrice is not reflecting the discount associated with that line item

Shopify Staff
318 42 61

Hey @Kieran-madefres 

Do you happen to have an order ID or a request ID so I can take a look?

Kevin_A | Solutions Engineer @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit or the Shopify Web Design and Development Blog