Skip to main content
Anchor to PriceRuleDiscountCodeConnection

PriceRuleDiscountCodeConnection

connection

An auto-generated type for paginating through multiple PriceRuleDiscountCodes.

Anchor to Fields with this connectionFields with this connection

•OBJECT

A set of conditions, including entitlements and prerequisites, that must be met for a discount code to apply.


Note

Use the types and queries included our discount tutorials instead. These will replace the GraphQL Admin API's PriceRule object and DiscountCode union, and the REST Admin API's deprecatedPriceRule resource.



Was this section helpful?

•[PriceRuleDiscountCodeEdge!]!
non-null

The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.

•[PriceRuleDiscountCode!]!
non-null

A list of nodes that are contained in PriceRuleDiscountCodeEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.

•PageInfo!
non-null

An object that’s used to retrieve cursor information about the current page.


Was this section helpful?