--- title: >- shippingLine.discountedPriceSet now includes cart level discounts - 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/shippingline-discountedpriceset-now-includes-cart-level-discounts md: >- https://shopify.dev/changelog/shippingline-discountedpriceset-now-includes-cart-level-discounts.md metadata: effectiveApiVersion: 2024-04 affectedApi: - displayName: Admin GraphQL API handle: admin-graphql primaryTag: displayName: API handle: api secondaryTag: displayName: Update handle: update indicatesActionRequired: true createdAt: '2024-02-06T12:59:35-05:00' postedAt: '2024-07-01T00:00:00-04:00' updatedAt: '2024-04-19T13:23:17-04:00' effectiveAt: '2024-07-01T00:00:00-04:00' --- July 1, 2024 Tags: * Action Required * Admin GraphQL API * 2024-04 # shippingLine.discountedPriceSet now includes cart level discounts As of version 2024-07 in the GraphQL Admin API, the `discountedPriceSet` and `discountedPrice` fields of the object `ShippingLine` will include cart level discounts applied to an order, including the free shipping discount, when calculating the discounted price. Previously, you would have had to subtract the `discountAllocations` from `discountedPriceSet` or `discountedPrice` to get an accurate value, but doing so now will subtract the same discount twice. Learn more about Shipping Lines on [Shopify.dev](https://shopify.dev/docs/api/admin-graphql/2023-04/objects/ShippingLine).