---
title: "CartBuyerIdentityUpdateInput"
description: "Shopping cart user information update interface input parameters"
doc_type: graphql
doc_category: storefront
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/docs/storefront-api/cart/inputs/cart-buyer-identity-update-input'
  md: 'https://developer.shopline.com/docs/storefront-api/cart/inputs/cart-buyer-identity-update-input.md'
---
# CartBuyerIdentityUpdateInput

Shopping cart user information update interface input parameters

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

## Type Signature

`CartBuyerIdentityUpdateInput`

## Input Fields

* `buyerIdentity`

  [CartBuyerIdentityInput!](https://developer.shopline.com/docs/storefront-api/cart/inputs/cart-buyer-identity-input.md)

  The customer associated with the cart. 

* `cartId`

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

  The ID of the cart.

* `isNeedReturnCartDetail`

  [Boolean](https://developer.shopline.com/docs/storefront-api/common/scalars/boolean.md)

  Whether to return the latest cart detail.

* `userToken`

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

  customer access token

* `countryCode`

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

  The code of the country.

* `language`

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

  The language of the front client.

## Schema Definition

```graphql
input CartBuyerIdentityUpdateInput { 
	buyerIdentity: CartBuyerIdentityInput!
	cartId: String!
	isNeedReturnCartDetail: Boolean
	userToken: String
	countryCode: String
	language: String 
}
```

## Argument from

* [Mutation](https://developer.shopline.com/docs/storefront-api/cart/mutations/cart-buyer-identity-update.md).cartBuyerIdentityUpdate

## Error Handling

For detailed information about common codes, see [Status and error codes](https://developer.shopline.com/docs/apps/api-instructions-for-use/storefront-api/overview.md#status-and-error-codes).

