---
title: "DiscountAutomaticAppUpdatePayload"
description: "App Automatic discount update payload"
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-app-update-payload'
  md: 'https://developer.shopline.com/docs/admin-graph-ql-api/discounts-and-marketing/objects/discount-automatic-app-update-payload.md'
---
# DiscountAutomaticAppUpdatePayload

App Automatic discount update payload

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

## Type Signature

`DiscountAutomaticAppUpdatePayload`

## Fields

* `automaticAppDiscount`

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

  The updated automatic app 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 DiscountAutomaticAppUpdatePayload { 
	automaticAppDiscount: DiscountAutomaticApp
	userErrors: [DiscountUserError!]! 
}
```

## Field from

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

  更新自动应用折扣

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

