---
title: "CheckoutLineItemInput"
description: "Checkout line item information."
doc_type: graphql
doc_category: storefront
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/docs/storefront-api/checkouts/inputs/checkout-line-item-input'
  md: 'https://developer.shopline.com/docs/storefront-api/checkouts/inputs/checkout-line-item-input.md'
---
# CheckoutLineItemInput

Checkout line item information.

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

## Input Fields

* `quantity`

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

  The quantity of the product to be purchased.

* `variantId`

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

  The ID of the product variant.

* `properties`

  [[CheckoutLineItemPropertyInput]](https://developer.shopline.com/docs/storefront-api/checkouts/inputs/checkout-line-item-property-input.md)

  A list of product customization information.

## Argument from

* [Mutation](https://developer.shopline.com/docs/storefront-api/checkouts/mutations/checkout-line-items-replace.md).checkoutLineItemsReplace

* [Mutation](https://developer.shopline.com/docs/storefront-api/checkouts/mutations/checkout-line-items-add.md).checkoutLineItemsAdd

## Input field from

* [CheckoutCreateInput](https://developer.shopline.com/docs/storefront-api/checkouts/inputs/checkout-create-input.md).lineItems

