--- title: Storefront API Cart discountAllocations field now includes delivery 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/storefront-api-cart-discountallocations-field-now-includes-delivery-discounts md: https://shopify.dev/changelog/storefront-api-cart-discountallocations-field-now-includes-delivery-discounts.md --- [Back to Developer changelog](https://shopify.dev/changelog) June 30, 2024 Tags: * Storefront GraphQL API * 2024-07 # Storefront API Cart `discountAllocations` field now includes delivery discounts As part of the 2024-07 release, delivery-related discounts into the Storefront API's Cart `discountAllocations` field and a new `targetType` field have been added to differentiate the type of discount. The merchandise and delivery discounts are reflected in the `totalAmount` of the Cart. Learn more about the `Cart` object on [Shopify.dev](https://shopify.dev/api/storefront/unstable/objects/Cart#top).