---
title: "ThirdUserCreateInput"
description: "用于创建第三方用户的输入字段。"
doc_type: graphql
doc_category: storefront
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/zh-hans-cn/docs/storefront-api/message/inputs/third-user-create-input'
  md: 'https://developer.shopline.com/zh-hans-cn/docs/storefront-api/message/inputs/third-user-create-input.md'
---
# ThirdUserCreateInput

用于创建第三方用户的输入字段。

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

## Input Fields

* `birthday`

  [String](https://developer.shopline.com/zh-hans-cn/docs/storefront-api/common/scalars/string.md)

  第三方用户的生日。格式：`YYYY-MM-DD` 。
  <br/>示例：`1995-01-15`

* `gender`

  [ThirdUserGenderType](https://developer.shopline.com/zh-hans-cn/docs/storefront-api/message/enums/third-user-gender-type.md)

  第三方用户的性别。

* `userPhone`

  [String](https://developer.shopline.com/zh-hans-cn/docs/storefront-api/common/scalars/string.md)

  第三方用户的手机号，格式采用 [E.164](https://www.itu.int/rec/T-REC-E.164/) 国际标准（包含国家或地区码）。
  <br/>示例：`+1213***5678`（美国）

* `userEmail`

  [String](https://developer.shopline.com/zh-hans-cn/docs/storefront-api/common/scalars/string.md)

  第三方用户的邮箱。
  <br/>最大长度限制：255

* `avatar`

  [URL](https://developer.shopline.com/zh-hans-cn/docs/storefront-api/common/scalars/url.md)

  第三方用户的头像 URL。
  <br/>最大长度限制：512

* `userName`

  [String](https://developer.shopline.com/zh-hans-cn/docs/storefront-api/common/scalars/string.md)

  第三方用户的名称。
  <br/>最大长度限制：255

* `userId`

  [String](https://developer.shopline.com/zh-hans-cn/docs/storefront-api/common/scalars/string.md)

  第三方用户 ID。
  <br/>最大长度限制：32

## Argument from

* [Mutation](https://developer.shopline.com/zh-hans-cn/docs/storefront-api/message/mutations/third-user-create.md).thirdUserCreate

