DiscountCustomerSelection
Requires Apps must have access scope.
The type used for targeting a set of customers who are eligible for the discount. For example, the discount might be available to all customers or it might only be available to a specific set of customers. You can define the set of customers by targeting a list of customer segments, or by targeting a list of specific customers.
Anchor to Possible typesPossible types
- •OBJECT
The
object lets you target all customers for discount eligibility.
- all
Customers •Boolean!non-null Whether the discount can be applied by all customers. This value is always
true
.
- all
- •OBJECT
A list of individual customers eligible for the discount.
- customers•[Customer!]!non-null
The list of individual customers eligible for the discount.
- customers•
- •OBJECT
A list of customer segments who are eligible for the discount.
- segments•[Segment!]!non-null
The list of customer segments who are eligible for the discount.
- segments•
Anchor to Fields with this unionFields with this union
- •OBJECT
The customers that can use the discount.
- •OBJECT
The customers that can use the discount.
- •OBJECT
The customers that can use the discount.
- •OBJECT
The customers that can use the discount.