---
title: "DiscountAutomaticPfntUpdatePayload"
description: "被更新的自动折扣"
doc_type: graphql
doc_category: adminGraphQL
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/zh-hans-cn/docs/admin-graph-ql-api/discounts-and-marketing/objects/discount-automatic-pfnt-update-payload'
  md: 'https://developer.shopline.com/zh-hans-cn/docs/admin-graph-ql-api/discounts-and-marketing/objects/discount-automatic-pfnt-update-payload.md'
---
# DiscountAutomaticPfntUpdatePayload

被更新的自动折扣

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

## Type Signature

`DiscountAutomaticPfntUpdatePayload`

## Fields

* `automaticDiscountNode`

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

  被更新的自动折扣

* `userErrors`

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

  执行变更时发生的错误列表。

## Schema Definition

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

## Field from

* [Mutation](https://developer.shopline.com/zh-hans-cn/docs/admin-graph-ql-api/discounts-and-marketing/mutations/discount-automatic-pfnt-update.md).discountAutomaticPfntUpdate

  更新一个M件N元的自动折扣

## Error Handling

关于更多通用错误码说明，参考：[状态码和错误码](https://developer.shopline.com/zh-hans-cn/docs/apps/api-instructions-for-use/graph-ql-admin-api/overview.md#status-and-error-codes)。

