Tags:
- API
- 2022-07
New Cart.discountAllocations field and change in CartLine.discountAllocations
Cart.discountAllocations field and change in CartLine.discountAllocationsAs part of the GraphQL Storefront API 2022-07 API release, we are changing how on Cart and are returned.
returns discount allocations that are applied to the entireCart.
now only returns discount allocations that are applied to the specific .
reflects the line total with only line-level discounts applied, not discounts applied to the entire Cart.
Learn more about the Cart object on Shopify.dev.
Was this section helpful?