DiscountApplicationTargetSelection enum

Which lines on the order that the discount is allocated over, of the type defined by the Discount Application’s target_type.

Values

  • ALL
    The discount is allocated onto all the lines.
  • ENTITLED
    The discount is allocated onto only the lines it is entitled for.
  • EXPLICIT
    The discount is allocated onto explicitly chosen lines.

Types that return DiscountApplicationTargetSelection

  • [AutomaticDiscountApplication.targetSelection](https://shopify.dev/docs/admin-api/graphql/reference/orders/automaticdiscountapplication#targetselection-2021-01)
  • [CalculatedAutomaticDiscountApplication.targetSelection](https://shopify.dev/docs/admin-api/graphql/reference/orders/calculatedautomaticdiscountapplication#targetselection-2021-01)
  • [CalculatedDiscountCodeApplication.targetSelection](https://shopify.dev/docs/admin-api/graphql/reference/orders/calculateddiscountcodeapplication#targetselection-2021-01)
  • [CalculatedManualDiscountApplication.targetSelection](https://shopify.dev/docs/admin-api/graphql/reference/orders/calculatedmanualdiscountapplication#targetselection-2021-01)
  • [CalculatedScriptDiscountApplication.targetSelection](https://shopify.dev/docs/admin-api/graphql/reference/orders/calculatedscriptdiscountapplication#targetselection-2021-01)
  • [DiscountCodeApplication.targetSelection](https://shopify.dev/docs/admin-api/graphql/reference/orders/discountcodeapplication#targetselection-2021-01)
  • [ManualDiscountApplication.targetSelection](https://shopify.dev/docs/admin-api/graphql/reference/orders/manualdiscountapplication#targetselection-2021-01)
  • [ScriptDiscountApplication.targetSelection](https://shopify.dev/docs/admin-api/graphql/reference/orders/scriptdiscountapplication#targetselection-2021-01)