折扣适用顾客条件-DiscountCustomerBuys 对象
前提条件和前提条件值。
所需的访问
应用程序必须具有read_discounts
访问范围。
在本页面
属性
- items(
[DiscountItems!](https://shopify.dev/docs/admin-api/graphql/reference/discounts-and-marketing/discountitems)
)
折扣所需的项目适用。 - value(
[DiscountCustomerBuysValue!](https://shopify.dev/docs/admin-api/graphql/reference/discounts-and-marketing/discountcustomerbuysvalue)
)
前提条件值。
返回DiscountCustomerBuys的类型
[DiscountAutomaticBxgy.customerBuys](https://shopify.dev/docs/admin-api/graphql/reference/discounts-and-marketing/discountautomaticbxgy#customerbuys-2021-01)
[DiscountCodeBxgy.customerBuys](https://shopify.dev/docs/admin-api/graphql/reference/discounts-and-marketing/discountcodebxgy#customerbuys-2021-01)