Docs
Dashboard

CartLineItemInput

Input

This is the input type for adding a line item to a cart.

#

Fields


metadata
[KeyValuePairOfStringAndStringInput!]

Optional metadata for the line item. This can be used to store additional information about the line item.

quantity
Int!

The number of line items of the given variant present in the cart.

variantId
ID!

The unique identifier of the product variant.