---
title: "DiscountAutomaticNodeEdge"
description: >
  A created type that holds a DiscountAutomaticNode and a pointer during pagination.
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-edge'
  md: 'https://developer.shopline.com/docs/admin-graph-ql-api/discounts-and-marketing/objects/discount-automatic-node-edge.md'
---
# DiscountAutomaticNodeEdge

A created type that holds a DiscountAutomaticNode and a pointer during pagination.

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

## Type Signature

`DiscountAutomaticNodeEdge`

## Fields

* `cursor`

  [String!](https://developer.shopline.com/docs/admin-graph-ql-api/common/scalars/string.md)

  A cursor used for pagination.

* `node`

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

  The tail node of the automatic discount.

## Schema Definition

```graphql
type DiscountAutomaticNodeEdge { 
	cursor: String!
	node: DiscountAutomaticNode! 
}
```

## Field from

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

  A list of edges

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

