Skip to main content
object

Requires Apps must have read_discounts access scope.

A list of products and product variants that the discount can have as a prerequisite or a list of products and product variants to which the discount can be applied.

ProductConnection!
non-null

The list of products that the discount can have as a prerequisite or the list of products to which the discount can be applied.

Arguments

Int

The first n elements from the paginated list.

String

The elements that come after the specified cursor.

Int

The last n elements from the paginated list.

String

The elements that come before the specified cursor.

Boolean
Default:false

Reverse the order of the underlying list.


ProductVariantConnection!
non-null

The list of product variants that the discount can have as a prerequisite or the list of product variants to which the discount can be applied.

Arguments

Int

The first n elements from the paginated list.

String

The elements that come after the specified cursor.

Int

The last n elements from the paginated list.

String

The elements that come before the specified cursor.

Boolean
Default:false

Reverse the order of the underlying list.



Was this section helpful?