# CartLinesUpdateInput Input for updating a cart line item with new quantity and customization details. ## Input Definition ```graphql input CartLinesUpdateInput { id: Int! quantity: Int! customizations: [CustomizationGroupOptionInput] } ``` ## Fields | Field | Type | Required | Description | |-------|------|----------|-------------| | id | Int | Yes | The ID of the cart line item to update | | quantity | Int | Yes | The quantity of the merchandise item to update | | customizations | [CustomizationGroupOptionInput] | No | List of customizations for the merchandise item | ## Example ```graphql mutation { updateCartLine(input: { id: 42 quantity: 3 customizations: [ { groupId: 1 optionId: 5 } ] }) { cart { id lines { id quantity } } } } ``` ## Related Types - [CustomizationGroupOptionInput](/docs/api/graphql/input-types/customization-group-option-input)