此价格规则适用的项目-PriceRuleItemEntitlements 对象
此价格规则适用的项目。这可以是上述的多个产品,产品变体,集合或组合。
所需的访问
read_price_rules 访问范围。
在本页面
Connections
- 集合(
[CollectionConnection!](https://shopify.dev/docs/admin-api/graphql/reference/products-and-collections/collection))
价格规则适用的集合。 
| 争论 | 描述 | 
|---|---|
after() [String](https://shopify.dev/docs/admin-api/graphql/reference/scalar#string-2021-01) | 
返回指定游标之后的元素。 | 
before() [String](https://shopify.dev/docs/admin-api/graphql/reference/scalar#string-2021-01) | 
返回指定游标之前的元素。 | 
first() [Int](https://shopify.dev/docs/admin-api/graphql/reference/scalar#int-2021-01) | 
返回n列表中的第一个元素。 | 
last() [Int](https://shopify.dev/docs/admin-api/graphql/reference/scalar#int-2021-01) | 
返回n列表中的最后一个元素。 | 
reverse() [Boolean](https://shopify.dev/docs/admin-api/graphql/reference/scalar#boolean-2021-01) | 
颠倒基础列表的顺序。 默认值: false | 
- productVariants(
[ProductVariantConnection!](https://shopify.dev/docs/admin-api/graphql/reference/products-and-collections/productvariant))
价格规则适用的产品变体。 
| 争论 | 描述 | 
|---|---|
after() [String](https://shopify.dev/docs/admin-api/graphql/reference/scalar#string-2021-01) | 
返回指定游标之后的元素。 | 
before() [String](https://shopify.dev/docs/admin-api/graphql/reference/scalar#string-2021-01) | 
返回指定游标之前的元素。 | 
first() [Int](https://shopify.dev/docs/admin-api/graphql/reference/scalar#int-2021-01) | 
返回n列表中的第一个元素。 | 
last() [Int](https://shopify.dev/docs/admin-api/graphql/reference/scalar#int-2021-01) | 
返回n列表中的最后一个元素。 | 
reverse() [Boolean](https://shopify.dev/docs/admin-api/graphql/reference/scalar#boolean-2021-01) | 
颠倒基础列表的顺序。 默认值: false | 
- 产品(
[ProductConnection!](https://shopify.dev/docs/admin-api/graphql/reference/products-and-collections/product))
价格规则适用的产品。 
| 争论 | 描述 | 
|---|---|
after() [String](https://shopify.dev/docs/admin-api/graphql/reference/scalar#string-2021-01) | 
返回指定游标之后的元素。 | 
before() [String](https://shopify.dev/docs/admin-api/graphql/reference/scalar#string-2021-01) | 
返回指定游标之前的元素。 | 
first() [Int](https://shopify.dev/docs/admin-api/graphql/reference/scalar#int-2021-01) | 
返回n列表中的第一个元素。 | 
last() [Int](https://shopify.dev/docs/admin-api/graphql/reference/scalar#int-2021-01) | 
返回n列表中的最后一个元素。 | 
reverse() [Boolean](https://shopify.dev/docs/admin-api/graphql/reference/scalar#boolean-2021-01) | 
颠倒基础列表的顺序。 默认值: false | 
字段
- targetAllLineItems(
[Boolean!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#boolean-2021-01))
价格规则是否适用于所有订单项。 
返回PriceRuleItemEntitlements的类型
[PriceRule.itemEntitlements](https://shopify.dev/docs/admin-api/graphql/reference/discounts-and-marketing/pricerule#itementitlements-2021-01)
