---
title: "DiscountAutomaticNodeConnection"
description: "Automatic discount list query 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-automatic-node-connection'
  md: 'https://developer.shopline.com/docs/admin-graph-ql-api/discounts-and-marketing/objects/discount-automatic-node-connection.md'
---
# DiscountAutomaticNodeConnection

Automatic discount list query connection

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

## Type Signature

`DiscountAutomaticNodeConnection`

## Fields

* `edges`

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

  A list of edges

* `nodes`

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

  A list of the nodes contained in DiscountAutomaticNodeEdge.

* `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 DiscountAutomaticNodeConnection { 
	edges: [DiscountAutomaticNodeEdge!]
	nodes: [DiscountAutomaticNode]
	pageInfo: PageInfo! 
}
```

## Field from

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

## 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).

