Developer changelog

Subscribe to the changelog to stay up to date on recent changes to Shopify’s APIs and other developer products, as well as preview upcoming features and beta releases.

Get updates by RSS

New type field on Storefront API CartCustomDiscountAllocation object


As of GraphQL Storefront API version 2022-10, CartCustomDiscountAllocation object has a new field: type. This field returns the type of custom discount (i.e. manual or script) on a discount allocation from a cart line.

Learn more about the Cart object on