---
title: "CheckoutBuyerIdentityInput"
description: "用于定义结账单关联客户身份的输入字段。"
doc_type: graphql
doc_category: storefront
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/zh-hans-cn/docs/storefront-api/checkouts/inputs/checkout-buyer-identity-input'
  md: 'https://developer.shopline.com/zh-hans-cn/docs/storefront-api/checkouts/inputs/checkout-buyer-identity-input.md'
---
# CheckoutBuyerIdentityInput

用于定义结账单关联客户身份的输入字段。

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

## Input Fields

* `countryCode`

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

  客户所在的国家或地区代码，遵循 [ISO 3166-1 (alpha 2)](https://www.iso.org/glossary-for-iso-3166.html) 国际标准且必须对应店铺已启用的国家或地区之一。传入该字段后，结账单将使用该国家或地区的货币进行结算。  
  例子：`CA`

* `customerAccessToken`

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

  客户的访问令牌。若在父级输入对象（如 `CheckoutCreateInput`）中传入了 `cartId`，则该令牌对应的客户所关联的购物车 ID 必须与传入的 `cartId` 值保持一致，否则系统将报错。

## Input field from

* [CheckoutCreateInput](https://developer.shopline.com/zh-hans-cn/docs/storefront-api/checkouts/inputs/checkout-create-input.md).buyerIdentity

