--- title: DiscountNodeConnection - GraphQL Admin description: An auto-generated type for paginating through multiple DiscountNodes. api_version: 2025-10 api_name: admin type: connection api_type: graphql source_url: html: https://shopify.dev/docs/api/admin-graphql/latest/connections/discountnodeconnection md: https://shopify.dev/docs/api/admin-graphql/latest/connections/discountnodeconnection.md --- # Discount​Node​Connection connection An auto-generated type for paginating through multiple DiscountNodes. ## Fields with this connection * [Customer​Merge​Preview​Default​Fields.discountNodes](https://shopify.dev/docs/api/admin-graphql/latest/objects/CustomerMergePreviewDefaultFields#field-CustomerMergePreviewDefaultFields.fields.discountNodes) OBJECT The fields that will be kept as part of a customer merge preview. *** ## Queries with this connection * [discount​Nodes](https://shopify.dev/docs/api/admin-graphql/latest/queries/discountNodes) query Returns a list of discounts. *** ## Possible returns * edges [\[Discount​Node​Edge!\]!](https://shopify.dev/docs/api/admin-graphql/latest/objects/DiscountNodeEdge) non-null The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. * nodes [\[Discount​Node!\]!](https://shopify.dev/docs/api/admin-graphql/latest/objects/DiscountNode) non-null A list of nodes that are contained in DiscountNodeEdge. 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. * page​Info [Page​Info!](https://shopify.dev/docs/api/admin-graphql/latest/objects/PageInfo) non-null An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. *** ## Map ### Fields with this connection * {}[Customer​Merge​Preview​Default​Fields.discountNodes](https://shopify.dev/docs/api/admin-graphql/latest/objects/CustomerMergePreviewDefaultFields#field-CustomerMergePreviewDefaultFields.fields.discountNodes) ### Queries with this connection * \[discount​Nodes](https://shopify.dev/docs/api/admin-graphql/latest/queries/discountNodes) ### Possible returns * <->[Discount​Node​Connection.edges](https://shopify.dev/docs/api/admin-graphql/latest/connections/DiscountNodeConnection#returns-edges) * <->[Discount​Node​Connection.nodes](https://shopify.dev/docs/api/admin-graphql/latest/connections/DiscountNodeConnection#returns-nodes) * <->[Discount​Node​Connection.pageInfo](https://shopify.dev/docs/api/admin-graphql/latest/connections/DiscountNodeConnection#returns-pageInfo)