---
title: "CartItemSelectInput"
description: "商品选中以及反选接口请求参数。"
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-item-select-input'
  md: 'https://developer.shopline.com/zh-hans-cn/docs/storefront-api/cart/inputs/cart-item-select-input.md'
---
# CartItemSelectInput

商品选中以及反选接口请求参数。

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

## Input Fields

* `cartId`

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

  购物车ID。

* `isNeedReturnCartDetail`

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

  是否返回最新购物车详情。

* `userToken`

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

  会员访问token。

* `selectItems`

  [[SelectItemInput]!](https://developer.shopline.com/zh-hans-cn/docs/storefront-api/common-objects/inputs/select-item-input.md)

  商品行选择信息。

* `countryCode`

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

  国家编码。

* `language`

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

  前台语言。

## Argument from

* [Mutation](https://developer.shopline.com/zh-hans-cn/docs/storefront-api/cart/mutations/cart-item-select.md).cartItemSelect

