---
title: "CartLineUpdatelinesInput"
description: "CartLineUpdate interface lines parameter"
doc_type: graphql
doc_category: storefront
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/docs/storefront-api/cart/inputs/cart-line-updatelines-input'
  md: 'https://developer.shopline.com/docs/storefront-api/cart/inputs/cart-line-updatelines-input.md'
---
# CartLineUpdatelinesInput

CartLineUpdate interface lines parameter

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

## Type Signature

`CartLineUpdatelinesInput`

## Input Fields

* `variantId`

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

  variant id

* `quantity`

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

  The quantity of the line item.

* `attributes`

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

  An array of key-value pairs that contains additional information about the merchandise line.

* `id`

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

  The ID of the merchandise line.

## Schema Definition

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

## Input field from

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

  Commodity row

## 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).

