DiscountProducts object

Version 2020-01 (Release candidate)

The entitled or prerequisite products and product variants for a discount.

On this page

Connections

productVariants (ProductVariantConnection!)

A list of product variants that the discount can have as a prerequisite or entitlement.

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!)

A list of products that the discount can have as a prerequisite or entitlement.

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

Version 2019-10 (Latest)

The entitled or prerequisite products and product variants for a discount.

On this page

Connections

productVariants (ProductVariantConnection!)

A list of product variants that the discount can have as a prerequisite or entitlement.

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!)

A list of products that the discount can have as a prerequisite or entitlement.

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

Version 2019-07

The entitled or prerequisite products and product variants for a discount.

On this page

Connections

productVariants (ProductVariantConnection!)

A list of product variants that the discount can have as a prerequisite or entitlement.

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!)

A list of products that the discount can have as a prerequisite or entitlement.

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

Version 2019-04

The entitled or prerequisite products and product variants for a discount.

On this page

Connections

productVariants (ProductVariantConnection!)

A list of product variants that the discount can have as a prerequisite or entitlement.

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!)

A list of products that the discount can have as a prerequisite or entitlement.

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

Sign up for a Partner account to get started.

Sign up