# CheckoutLineItemInput - storefront - INPUT_OBJECT Version: 2024-04 ## Description The input fields to create a line item on a checkout. ### Access Scopes ## Fields * [customAttributes](/docs/api/storefront/2024-04/input-objects/AttributeInput): AttributeInput - Extra information in the form of an array of Key-Value pairs about the line item. The input must not contain more than `250` values. * [quantity](/docs/api/storefront/2024-04/scalars/Int): Int! - The quantity of the line item. * [variantId](/docs/api/storefront/2024-04/scalars/ID): ID! - The ID of the product variant for the line item. ## Input objects with this input object * [CheckoutCreateInput](/docs/api/storefront/2024-04/input-objects/CheckoutCreateInput) * [checkoutLineItemsAdd](/docs/api/storefront/2024-04/mutations/checkoutLineItemsAdd) * [checkoutLineItemsReplace](/docs/api/storefront/2024-04/mutations/checkoutLineItemsReplace) ## Examples