---
title: "DiscountAutomaticBasicCreatePayload"
description: "Payload of creates basic automatic discount."
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-basic-create-payload'
  md: 'https://developer.shopline.com/docs/admin-graph-ql-api/discounts-and-marketing/objects/discount-automatic-basic-create-payload.md'
---
# DiscountAutomaticBasicCreatePayload

Payload of creates basic automatic discount.

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

## Type Signature

`DiscountAutomaticBasicCreatePayload`

## Fields

* `automaticDiscountNode`

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

  The created automatic discount.
  

* `userErrors`

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

  The list of errors.

## Schema Definition

```graphql
type DiscountAutomaticBasicCreatePayload { 
	automaticDiscountNode: DiscountAutomaticNode
	userErrors: [DiscountUserError!]! 
}
```

## Field from

* [Mutation](https://developer.shopline.com/docs/admin-graph-ql-api/discounts-and-marketing/mutations/discount-automatic-basic-create.md).discountAutomaticBasicCreate

  创建基本的自动折扣

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

