--- title: DiscountApplicationTargetSelection - Customer API description: |- The lines on the order to which the discount is applied, of the type defined by the discount application's `targetType`. For example, the value `ENTITLED`, combined with a `targetType` of `LINE_ITEM`, applies the discount on all line items that are entitled to the discount. The value `ALL`, combined with a `targetType` of `SHIPPING_LINE`, applies the discount on all shipping lines. api_version: 2025-10 api_name: customer type: enum api_type: graphql source_url: html: https://shopify.dev/docs/api/customer/latest/enums/discountapplicationtargetselection md: https://shopify.dev/docs/api/customer/latest/enums/discountapplicationtargetselection.md --- # Discount​Application​Target​Selection enum The lines on the order to which the discount is applied, of the type defined by the discount application's `targetType`. For example, the value `ENTITLED`, combined with a `targetType` of `LINE_ITEM`, applies the discount on all line items that are entitled to the discount. The value `ALL`, combined with a `targetType` of `SHIPPING_LINE`, applies the discount on all shipping lines. ## Valid values * ALL The discount is allocated onto all the lines. * ENTITLED The discount is allocated onto only the lines that it's entitled for. * EXPLICIT The discount is allocated onto explicitly chosen lines. *** ## Fields * [Automatic​Discount​Application.​target​Selection](https://shopify.dev/docs/api/customer/latest/objects/AutomaticDiscountApplication#field-targetSelection) OBJECT Captures the intentions of a discount that was automatically applied. * [Discount​Application.​target​Selection](https://shopify.dev/docs/api/customer/latest/interfaces/DiscountApplication#field-targetSelection) INTERFACE Captures the intentions of a discount source at the time of application. * [Discount​Code​Application.​target​Selection](https://shopify.dev/docs/api/customer/latest/objects/DiscountCodeApplication#field-targetSelection) OBJECT Captures the intentions of a discount code at the time that it is applied. * [Manual​Discount​Application.​target​Selection](https://shopify.dev/docs/api/customer/latest/objects/ManualDiscountApplication#field-targetSelection) OBJECT Captures the intentions of a discount that was manually created. * [Script​Discount​Application.​target​Selection](https://shopify.dev/docs/api/customer/latest/objects/ScriptDiscountApplication#field-targetSelection) OBJECT Captures the intentions of a discount that was created by a Shopify Script. *** ## Map ### Fields with this enum * <-|[Automatic​Discount​Application.targetSelection](https://shopify.dev/docs/api/customer/latest/objects/AutomaticDiscountApplication#field-targetSelection) * <-|[Discount​Code​Application.targetSelection](https://shopify.dev/docs/api/customer/latest/objects/DiscountCodeApplication#field-targetSelection) * <-|[Manual​Discount​Application.targetSelection](https://shopify.dev/docs/api/customer/latest/objects/ManualDiscountApplication#field-targetSelection) * <-|[Script​Discount​Application.targetSelection](https://shopify.dev/docs/api/customer/latest/objects/ScriptDiscountApplication#field-targetSelection)