---
title: "CustomerEmailMarketingConsentUpdatePayload"
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/customers/objects/customer-email-marketing-consent-update-payload'
  md: 'https://developer.shopline.com/zh-hans-cn/docs/admin-graph-ql-api/customers/objects/customer-email-marketing-consent-update-payload.md'
---
# CustomerEmailMarketingConsentUpdatePayload

邮箱订阅更新响应实体

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

## Type Signature

`CustomerEmailMarketingConsentUpdatePayload`

## Fields

* `customer`

  [Customer](https://developer.shopline.com/zh-hans-cn/docs/admin-graph-ql-api/customers/objects/customer.md)

  更新的客户信息

* `userErrors`

  [[CustomerEmailMarketingConsentUpdateUserError]](https://developer.shopline.com/zh-hans-cn/docs/admin-graph-ql-api/customers/objects/customer-email-marketing-consent-update-user-error.md)

  错误信息

## Schema Definition

```graphql
type CustomerEmailMarketingConsentUpdatePayload { 
	customer: Customer
	userErrors: [CustomerEmailMarketingConsentUpdateUserError] 
}
```

## Field from

* [Mutation](https://developer.shopline.com/zh-hans-cn/docs/admin-graph-ql-api/customers/mutations/customer-email-marketing-consent-update.md).customerEmailMarketingConsentUpdate

  更新客户的电子邮件营销信息

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

