---
title: "CustomerCreatePayload"
description: "客户创建"
doc_type: graphql
doc_category: storefront
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/zh-hans-cn/docs/storefront-api/customers/objects/customer-create-payload'
  md: 'https://developer.shopline.com/zh-hans-cn/docs/storefront-api/customers/objects/customer-create-payload.md'
---
# CustomerCreatePayload

客户创建

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

## Type Signature

`CustomerCreatePayload`

## Fields

* `customer`

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

  客户信息

* `customerUserErrors`

  [[CustomerUserError]](https://developer.shopline.com/zh-hans-cn/docs/storefront-api/customers/objects/customer-user-error.md)

  错误信息

## Schema Definition

```graphql
type CustomerCreatePayload { 
	customer: Customer
	customerUserErrors: [CustomerUserError] 
}
```

## Field from

* [Mutation](https://developer.shopline.com/zh-hans-cn/docs/storefront-api/customers/mutations/customer-create.md).customerCreate

  创建客户

## Error Handling

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

