CartDiscountGroup
ObjectRepresents a group for cart discounts with stacking behavior.
Fields
- CartDiscountConnection!
discounts Gets the cart discounts that are members of this group.
- Long!
discountsCount Gets the count of cart discounts that are members of this group.
- ID!
id Gets the ID of the cart discount group.
- String!
name Gets the name of the cart discount group.
- StackingMode!
stackingMode Gets the stacking mode of the cart discount group.
Possible enum valuesPARALLELApplies each eligible discount against the same original amount.
SERIALApplies eligible discounts in sequence, each against the amount remaining after earlier discounts.
Queries
Gets a cart discount group by its ID.
Returns a list of cart discounts.
Mutations
Creates a new cart discount group.
Deletes a cart discount group.
Adds a cart discount to a group.
Removes a cart discount from a group.
Re-orders multiple cart discounts within a group.
Updates an existing cart discount group.