指定打折输入-DiscountCustomerGetsInput 输入对象

指定要打折的项目,要打折的项目数量以及折扣值。


输入栏

  • applyOnOneTimePurchase([Boolean](https://shopify.dev/docs/admin-api/graphql/reference/scalar#boolean-2021-01)
    折扣是否适用于常规的一次性购买商品。
  • applyOnSubscription([Boolean](https://shopify.dev/docs/admin-api/graphql/reference/scalar#boolean-2021-01)
    折扣是否适用于订购项目。
  • item([DiscountItemsInput](https://shopify.dev/docs/admin-api/graphql/reference/discounts-and-marketing/discountitemsinput)
    客户获取的商品的ID。这些项目可以是收藏集或产品。
  • value([DiscountCustomerGetsValueInput](https://shopify.dev/docs/admin-api/graphql/reference/discounts-and-marketing/discountcustomergetsvalueinput)
    折扣项目的数量和折扣值。