Developer changelog

Subscribe to the changelog to stay up to date on recent changes to Shopify’s APIs and other developer products, as well as preview upcoming features and beta releases.

Get updates by RSS

shippingLine.discountedPriceSet now includes cart level discounts


Action required

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