---
title: "SelectItemInput"
description: "Product row selection information"
doc_type: graphql
doc_category: storefront
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/docs/storefront-api/common-objects/inputs/select-item-input'
  md: 'https://developer.shopline.com/docs/storefront-api/common-objects/inputs/select-item-input.md'
---
# SelectItemInput

Product row selection information

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

## Type Signature

`SelectItemInput`

## Input Fields

* `select`

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

  true to select / false to deselect

* `id`

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

  The identifier of the merchandise line.

* `variantId`

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

  The identifier of the product sku that the buyer intends to purchase.

## Schema Definition

```graphql
input SelectItemInput { 
	select: Boolean!
	id: ID!
	variantId: ID 
}
```

## Input field from

* [CartItemSelectInput](https://developer.shopline.com/docs/storefront-api/cart/inputs/cart-item-select-input.md).selectItems

  CartLine selection information

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

