Docs
Dashboard

CartLineItemUpdateInput

Input

This is the input type for updating the line item in a cart.

#

Fields


lineItemId
ID!

The unique identifier of the line item to be updated.

metadata
[KeyValuePairOfStringAndStringInput!]

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

quantity
Int!

The new quantity for the line item. If set to 0, the line item will be removed from the cart.