PriceRuleItemEntitlements object

Version 2020-01 (Release candidate)

The items to which this price rule applies. This may be multiple products, product variants, collections or combinations of the aforementioned.

Required access

read_price_rules access scope

Connections

collections (CollectionConnection!)

The collections to which the price rule applies.

after ( String )

Returns the elements that come after the specified cursor.

before ( String )

Returns the elements that come before the specified cursor.

first ( Int )

Returns up to the first n elements from the list.

last ( Int )

Returns up to the last n elements from the list.

reverse ( Boolean )

Reverse the order of the underlying list.
Default value: false

productVariants (ProductVariantConnection!)

The product variants to which the price rule applies.

after ( String )

Returns the elements that come after the specified cursor.

before ( String )

Returns the elements that come before the specified cursor.

first ( Int )

Returns up to the first n elements from the list.

last ( Int )

Returns up to the last n elements from the list.

reverse ( Boolean )

Reverse the order of the underlying list.
Default value: false

products (ProductConnection!)

The products to which the price rule applies.

after ( String )

Returns the elements that come after the specified cursor.

before ( String )

Returns the elements that come before the specified cursor.

first ( Int )

Returns up to the first n elements from the list.

last ( Int )

Returns up to the last n elements from the list.

reverse ( Boolean )

Reverse the order of the underlying list.
Default value: false

Fields

targetAllLineItems (Boolean!)

Whether the price rule applies to all line items.

Types that return PriceRuleItemEntitlements

Version 2019-10 (Latest)

The items to which this price rule applies. This may be multiple products, product variants, collections or combinations of the aforementioned.

Required access

read_price_rules access scope

Connections

collections (CollectionConnection!)

The collections to which the price rule applies.

after ( String )

Returns the elements that come after the specified cursor.

before ( String )

Returns the elements that come before the specified cursor.

first ( Int )

Returns up to the first n elements from the list.

last ( Int )

Returns up to the last n elements from the list.

reverse ( Boolean )

Reverse the order of the underlying list.
Default value: false

productVariants (ProductVariantConnection!)

The product variants to which the price rule applies.

after ( String )

Returns the elements that come after the specified cursor.

before ( String )

Returns the elements that come before the specified cursor.

first ( Int )

Returns up to the first n elements from the list.

last ( Int )

Returns up to the last n elements from the list.

reverse ( Boolean )

Reverse the order of the underlying list.
Default value: false

products (ProductConnection!)

The products to which the price rule applies.

after ( String )

Returns the elements that come after the specified cursor.

before ( String )

Returns the elements that come before the specified cursor.

first ( Int )

Returns up to the first n elements from the list.

last ( Int )

Returns up to the last n elements from the list.

reverse ( Boolean )

Reverse the order of the underlying list.
Default value: false

Fields

targetAllLineItems (Boolean!)

Whether the price rule applies to all line items.

Types that return PriceRuleItemEntitlements

Version 2019-07

The items to which this price rule applies. This may be multiple products, product variants, collections or combinations of the aforementioned.

Required access

read_price_rules access scope

Connections

collections (CollectionConnection!)

The collections to which the price rule applies.

after ( String )

Returns the elements that come after the specified cursor.

before ( String )

Returns the elements that come before the specified cursor.

first ( Int )

Returns up to the first n elements from the list.

last ( Int )

Returns up to the last n elements from the list.

reverse ( Boolean )

Reverse the order of the underlying list.
Default value: false

productVariants (ProductVariantConnection!)

The product variants to which the price rule applies.

after ( String )

Returns the elements that come after the specified cursor.

before ( String )

Returns the elements that come before the specified cursor.

first ( Int )

Returns up to the first n elements from the list.

last ( Int )

Returns up to the last n elements from the list.

reverse ( Boolean )

Reverse the order of the underlying list.
Default value: false

products (ProductConnection!)

The products to which the price rule applies.

after ( String )

Returns the elements that come after the specified cursor.

before ( String )

Returns the elements that come before the specified cursor.

first ( Int )

Returns up to the first n elements from the list.

last ( Int )

Returns up to the last n elements from the list.

reverse ( Boolean )

Reverse the order of the underlying list.
Default value: false

Fields

targetAllLineItems (Boolean!)

Whether the price rule applies to all line items.

Types that return PriceRuleItemEntitlements

Version 2019-04

The items to which this price rule applies. This may be multiple products, product variants, collections or combinations of the aforementioned.

Required access

read_price_rules access scope

Connections

collections (CollectionConnection!)

The collections to which the price rule applies.

after ( String )

Returns the elements that come after the specified cursor.

before ( String )

Returns the elements that come before the specified cursor.

first ( Int )

Returns up to the first n elements from the list.

last ( Int )

Returns up to the last n elements from the list.

reverse ( Boolean )

Reverse the order of the underlying list.
Default value: false

productVariants (ProductVariantConnection!)

The product variants to which the price rule applies.

after ( String )

Returns the elements that come after the specified cursor.

before ( String )

Returns the elements that come before the specified cursor.

first ( Int )

Returns up to the first n elements from the list.

last ( Int )

Returns up to the last n elements from the list.

reverse ( Boolean )

Reverse the order of the underlying list.
Default value: false

products (ProductConnection!)

The products to which the price rule applies.

after ( String )

Returns the elements that come after the specified cursor.

before ( String )

Returns the elements that come before the specified cursor.

first ( Int )

Returns up to the first n elements from the list.

last ( Int )

Returns up to the last n elements from the list.

reverse ( Boolean )

Reverse the order of the underlying list.
Default value: false

Fields

targetAllLineItems (Boolean!)

Whether the price rule applies to all line items.

Types that return PriceRuleItemEntitlements

Sign up for a Partner account to get started.

Sign up