---
title: "DiscountAutomaticNode"
description: "A node containing an automatic discount and its related events."
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-automatic-node'
  md: 'https://developer.shopline.com/docs/admin-graph-ql-api/discounts-and-marketing/objects/discount-automatic-node.md'
---
# DiscountAutomaticNode

A node containing an automatic discount and its related events.

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

## Type Signature

`DiscountAutomaticNode`

## Fields

* `automaticDiscount`

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

  The automatic discount object.

* `id`

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

  A globally-unique ID.

## Schema Definition

```graphql
type DiscountAutomaticNode { 
	automaticDiscount: DiscountAutomatic
	id: ID! 
}
```

## Field from

* [DiscountAutomaticBasicUpdatePayload](https://developer.shopline.com/docs/admin-graph-ql-api/discounts-and-marketing/objects/discount-automatic-basic-update-payload.md).automaticDiscountNode

  The updated automatic discount.

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

  The tail node of the automatic discount.

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

* [DiscountAutomaticFreeShippingCreatePayload](https://developer.shopline.com/docs/admin-graph-ql-api/discounts-and-marketing/objects/discount-automatic-free-shipping-create-payload.md).automaticDiscountNode

  The created automatic discount.

* [DiscountAutomaticPfntUpdatePayload](https://developer.shopline.com/docs/admin-graph-ql-api/discounts-and-marketing/objects/discount-automatic-pfnt-update-payload.md).automaticDiscountNode

  The update automatic discount.

* [DiscountAutomaticDoniUpdatePayload](https://developer.shopline.com/docs/admin-graph-ql-api/discounts-and-marketing/objects/discount-automatic-doni-update-payload.md).automaticDiscountNode

  The updated automatic discount.

* [DiscountAutomaticDoliUpdatePayload](https://developer.shopline.com/docs/admin-graph-ql-api/discounts-and-marketing/objects/discount-automatic-doli-update-payload.md).automaticDiscountNode

  The update automatic discount.

* [DiscountAutomaticDoliCreatePayload](https://developer.shopline.com/docs/admin-graph-ql-api/discounts-and-marketing/objects/discount-automatic-doli-create-payload.md).automaticDiscountNode

  The created automatic discount.

* [DiscountAutomaticActivatePayload](https://developer.shopline.com/docs/admin-graph-ql-api/discounts-and-marketing/objects/discount-automatic-activate-payload.md).automaticDiscountNode

  The activated automatic discount.

* [DiscountAutomaticBasicCreatePayload](https://developer.shopline.com/docs/admin-graph-ql-api/discounts-and-marketing/objects/discount-automatic-basic-create-payload.md).automaticDiscountNode

  The created automatic discount.
  

* [DiscountAutomaticPfntCreatePayload](https://developer.shopline.com/docs/admin-graph-ql-api/discounts-and-marketing/objects/discount-automatic-pfnt-create-payload.md).automaticDiscountNode

  The created automatic discount.

* [DiscountAutomaticDeactivatePayload](https://developer.shopline.com/docs/admin-graph-ql-api/discounts-and-marketing/objects/discount-automatic-deactivate-payload.md).automaticDiscountNode

  The deactivated automatic discount.

* [DiscountAutomaticBxgyUpdatePayload](https://developer.shopline.com/docs/admin-graph-ql-api/discounts-and-marketing/objects/discount-automatic-bxgy-update-payload.md).automaticDiscountNode

  The updated automatic discount.
  
  

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

  A list of the nodes contained in DiscountAutomaticNodeEdge.

* [DiscountAutomaticFreeShippingUpdatePayload](https://developer.shopline.com/docs/admin-graph-ql-api/discounts-and-marketing/objects/discount-automatic-free-shipping-update-payload.md).automaticDiscountNode

  The updated automatic discount.

* [DiscountAutomaticBxgyCreatePayload](https://developer.shopline.com/docs/admin-graph-ql-api/discounts-and-marketing/objects/discount-automatic-bxgy-create-payload.md).automaticDiscountNode

  The created automatic discount.

* [DiscountAutomaticDoniCreatePayload](https://developer.shopline.com/docs/admin-graph-ql-api/discounts-and-marketing/objects/discount-automatic-doni-create-payload.md).automaticDiscountNode

  The created automatic discount.

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

