New discount fields in the Storefront API's cart types

DeprecationEffective n/a

As of API version 2026-07, several changes have been introduced to the discount fields and amounts in the Storefront API . Deprecated Fields : The cart.discountAllocations field is deprecated. Use cart.lines[].discountAllocations(lineLevelOnly: false) and cart.deliveryGroups[].discountAllocations instead.

Summary extracted from the official source text. Verify details on the source page.

PlatformShopify
Effective dateNo date published
Precisionn/a
Published2026-04-10
CategoriesDeprecation
Tags2026-07, API, Deprecation announcement, Storefront API
Official sourceShopify developer changelog ↗
Fetched2026-10-17T03:44:00+00:00
First seen2026-10-17T01:05:46+00:00
StatusListed by the source
Stable IDshopify-2d55234848 · JSON