Targets all items the cart for a specified discount.
Access Scopes
Apps must have `read_discounts` access scope.
Fields
allItems:
Boolean! -
Whether all items are eligible for the discount. This value always returns `true`.
Connections
Related queries
Related mutations
Related Unions
DiscountItems
The type used to target the items required for discount eligibility, or the items to which the application of a discount might apply. For example, for a customer to be eligible for a discount, they're required to add an item from a specified collection to their order. Alternatively, a customer might be required to add a specific product or product variant. When using this type to target which items the discount will apply to, the discount might apply to all items on the order, or to specific products and product variants, or items in a given collection.