---
title: "CartBuyerIdentityInput"
description: "CartBuyerIdentityInput"
doc_type: graphql
doc_category: storefront
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/zh-hans-cn/docs/storefront-api/cart/inputs/cart-buyer-identity-input'
  md: 'https://developer.shopline.com/zh-hans-cn/docs/storefront-api/cart/inputs/cart-buyer-identity-input.md'
---
# CartBuyerIdentityInput

CartBuyerIdentityInput

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

## Type Signature

`CartBuyerIdentityInput`

## Input Fields

* `phone`

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

  手机号

* `email`

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

  邮箱

* `customerAccessToken`

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

  用于识别与购物车关联的客户的访问令牌

* `countryCode`

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

  国家码

## Schema Definition

```graphql
input CartBuyerIdentityInput { 
	phone: String
	email: String
	customerAccessToken: String
	countryCode: String 
}
```

## Input field from

* [CartBuyerIdentityUpdateInput](https://developer.shopline.com/zh-hans-cn/docs/storefront-api/cart/inputs/cart-buyer-identity-update-input.md).buyerIdentity

  购物车顾客信息

* [CartInput](https://developer.shopline.com/zh-hans-cn/docs/storefront-api/cart/inputs/cart-input.md).buyerIdentity

  购物车关联的顾客信息

## Error Handling

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

