# DiscountCustomerSelection - admin-graphql - UNION Version: 2024-10 ## Description 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. ### Access Scopes Apps must have `read_discounts` access scope. ## Possible types * [DiscountCustomerAll](/docs/api/admin-graphql/2024-10/objects/DiscountCustomerAll) * [DiscountCustomerSegments](/docs/api/admin-graphql/2024-10/objects/DiscountCustomerSegments) * [DiscountCustomers](/docs/api/admin-graphql/2024-10/objects/DiscountCustomers) ## Fields with this union * [DiscountCodeApp.customerSelection](/docs/api/admin-graphql/2024-10/objects/DiscountCodeApp) * [DiscountCodeBasic.customerSelection](/docs/api/admin-graphql/2024-10/objects/DiscountCodeBasic) * [DiscountCodeBxgy.customerSelection](/docs/api/admin-graphql/2024-10/objects/DiscountCodeBxgy) * [DiscountCodeFreeShipping.customerSelection](/docs/api/admin-graphql/2024-10/objects/DiscountCodeFreeShipping) ## Examples