Storefront cart discount allocation fields replaced; legacy value misreports configured discounts
Storefront API 2026-07 deprecates cart.discountAllocations and cartDiscountAllocation.discountApplication, whose value returns the per-line allocated amount rather than the configured discount; the new discountApplications and sourceDiscountApplication fields return the correct configured value.
Read the official Shopify source01 · Source fact
What changed
Storefront API 2026-07 deprecates cart.discountAllocations and cartDiscountAllocation.discountApplication, whose value returns the per-line allocated amount rather than the configured discount; the new discountApplications and sourceDiscountApplication fields return the correct configured value.
- Published
- Apr 10, 2026
- Effective
- API version 2026-07
- Deadline
- No explicit deadline stated
02 · Business impact
Who and what may be affected
- Operators
- Agency
- Surfaces
- Storefront Cart, Cart Api
- Impact
- Reporting, Technical
- Settlement categories
- Promotions
03 · Next action
What to check
Move cart discount reads to the new fields and stop treating the legacy discountApplication.value as the configured discount amount when validating promotion spend.