自动折扣申请-AutomaticDiscountApplication 对象
自动折扣应用程序捕获自动应用的折扣的意图。
在本页面
字段
- locationMethod(
[DiscountApplicationAllocationMethod!](https://shopify.dev/docs/admin-api/graphql/reference/orders/discountapplicationallocationmethod))
折扣值分配给其应享项目的方法。 - index(
[Int!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#int-2021-01))
有序索引,可用于标识折扣应用程序并指示折扣应用程序的优先级以进行计算。 - targetSelection(
[DiscountApplicationTargetSelection!](https://shopify.dev/docs/admin-api/graphql/reference/orders/discountapplicationtargetselection))
折扣金额如何在折扣行上分配。 - targetType(
[DiscountApplicationTargetType!](https://shopify.dev/docs/admin-api/graphql/reference/orders/discountapplicationtargettype))
折扣适用于行项目还是运输行。 - title(
[String!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#string-2021-01))
折扣申请的标题。 - value(
[PricingValue!](https://shopify.dev/docs/admin-api/graphql/reference/discounts-and-marketing/pricingvalue))
折扣应用程序的值。 
派生关系
[DiscountApplication](https://shopify.dev/docs/admin-api/graphql/reference/orders/discountapplication)
