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
excludeCountfield in the CountOnLineItemUnits and CountOnCustomLineItemUnits types. - [GraphQL API] Deprecated the
excludeCountfield in theCountOnCustomLineItemUnits,CountOnCustomLineItemUnitsInput,CountOnLineItemUnits, andCountOnLineItemUnitsInputtypes.