6 March 2025
Pricing and DiscountsGraphQL
The excludeCount
field in CountOnLineItemUnits and CountOnCustomLineItemUnits is now deprecated and will be removed on 6 June 2025. With this enhancement, by default, units of (Custom) Line Items matched in the CartDiscountPatternTarget triggerPattern
are excluded and not considered for the targetPattern
, on every application of the Discount.
Changes:
- [API] Deprecated the
excludeCount
field in the CountOnLineItemUnits and CountOnCustomLineItemUnits types. - [GraphQL API] Deprecated the
excludeCount
field in theCountOnCustomLineItemUnits
,CountOnCustomLineItemUnitsInput
,CountOnLineItemUnits
, andCountOnLineItemUnitsInput
types.