---
title: "DiscountNodeConnection"
description: "Discount node connection"
doc_type: graphql
doc_category: adminGraphQL
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/docs/admin-graph-ql-api/discounts-and-marketing/objects/discount-node-connection'
  md: 'https://developer.shopline.com/docs/admin-graph-ql-api/discounts-and-marketing/objects/discount-node-connection.md'
---
# DiscountNodeConnection

Discount node connection

- **API Version:** v20270301
- **API Type:** Admin
- **API Protocol:** GraphQL
- **Operation Type:** Object

## Type Signature

`DiscountNodeConnection`

## Fields

* `edges`

  [[DiscountNodeEdge!]](https://developer.shopline.com/docs/admin-graph-ql-api/discounts-and-marketing/objects/discount-node-edge.md)

  A list of edges.

* `nodes`

  [[DiscountNode]](https://developer.shopline.com/docs/admin-graph-ql-api/discounts-and-marketing/objects/discount-node.md)

  A list of the nodes contained in DiscountNodeEdge.

* `pageInfo`

  [PageInfo!](https://developer.shopline.com/docs/admin-graph-ql-api/common-objects/objects/page-info.md)

  Information to aid in pagination
  

## Schema Definition

```graphql
type DiscountNodeConnection { 
	edges: [DiscountNodeEdge!]
	nodes: [DiscountNode]
	pageInfo: PageInfo! 
}
```

## Field from

* [Query](https://developer.shopline.com/docs/admin-graph-ql-api/discounts-and-marketing/queries/discount-nodes.md).discountNodes

  折扣列表。

## Error Handling

For detailed information about common codes, see [Status and error codes](https://developer.shopline.com/docs/apps/api-instructions-for-use/graph-ql-admin-api/overview.md#status-and-error-codes).

