Discount Customer Selection
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.
- Anchor to allCustomersall•Boolean!
Customers non-null Whether the discount can be applied by all customers. This value is always
true
.
- •OBJECT
A list of individual customers eligible for the discount.
- Anchor to customerscustomers•[Customer!]!non-null
The list of individual customers eligible for the discount.
- •OBJECT
Represents customer segments that are eligible to receive a specific discount, allowing merchants to target promotions to defined groups of customers. This enables personalized marketing campaigns based on customer behavior and characteristics.
For example, a "VIP Customer 15% Off" promotion might target a segment of high-value repeat customers, while a "New Customer Welcome" discount could focus on first-time buyers.
Segment-based discounts help merchants create more relevant promotional experiences and improve conversion rates by showing the right offers to the right customers at the right time.
- Anchor to segmentssegments•[Segment!]!non-null
The list of customer segments who are eligible for the discount.
Anchor to Fields with this unionFields with this union
Deprecated fields with this union
- •OBJECTDeprecated