Storefront API Cart discountAllocations
field now includes delivery discounts
API
Effective June 30, 2024
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.