DiscountCustomerBuys - admin-graphql - OBJECT
Version: 2025-01
Description:
The prerequisite items and prerequisite value that a customer must have on the order for the discount to be applicable.
Access Scopes
Apps must have `read_discounts` access scope.
Fields
-
isOneTimePurchase:
Boolean! -
If the discount is applicable when a customer buys a one-time purchase.
-
isSubscription:
Boolean! -
If the discount is applicable when a customer buys a subscription purchase.
-
items:
DiscountItems! -
The items required for the discount to be applicable.
-
value:
DiscountCustomerBuysValue! -
The prerequisite value.
Connections
Related queries
Related mutations
Related Unions
Examples