---
title: "CartLineUpdatelinesInput"
description: "CartLineUpdate接口lines传参"
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-line-updatelines-input'
  md: 'https://developer.shopline.com/zh-hans-cn/docs/storefront-api/cart/inputs/cart-line-updatelines-input.md'
---
# CartLineUpdatelinesInput

CartLineUpdate接口lines传参

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

## Type Signature

`CartLineUpdatelinesInput`

## Input Fields

* `quantity`

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

  商品数量

* `attributes`

  [[AttributeInput]](https://developer.shopline.com/zh-hans-cn/docs/storefront-api/common-objects/inputs/attribute-input.md)

  商品行自定义属性键值对

* `id`

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

  商品行ID

* `variantId`

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

  variant id

## Schema Definition

```graphql
input CartLineUpdatelinesInput { 
	quantity: Int
	attributes: [AttributeInput]
	id: String!
	variantId: String 
}
```

## Input field from

* [CartLineUpdateInput](https://developer.shopline.com/zh-hans-cn/docs/storefront-api/cart/inputs/cart-line-update-input.md).lines

  商品行

## Error Handling

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

