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.
New type field on Storefront API CartCustomDiscountAllocation object
API
Effective June 22, 2022
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 Shopify.dev.