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

A discount wrapper node

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

## Type Signature

`DiscountNode`

## Fields

* `discount`

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

  A discount.

* `id`

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

  A globally-unique ID.

## Schema Definition

```graphql
type DiscountNode { 
	discount: Discount
	id: ID 
}
```

## Field from

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

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

  A list of the nodes contained in DiscountNodeEdge.

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

  The item at the end of DiscountNodeEdge.

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

