DiscountCustomerGets - admin-graphql - OBJECT
Version: 2025-01
Description:
The qualifying items in an order, the quantity of each one, and the total value of the discount.
Access Scopes
Apps must have `read_discounts` access scope.
Fields
-
appliesOnOneTimePurchase:
Boolean! -
Whether the discount applies on regular one-time-purchase items.
-
appliesOnSubscription:
Boolean! -
Whether the discount applies on subscription items.
-
items:
DiscountItems! -
The items to which the discount applies.
-
value:
DiscountCustomerGetsValue! -
Entitled quantity and the discount value.
Connections
Related queries
Related mutations
Related Unions
Examples