# CartLinesUpdatePayload Payload returned by the cartLinesUpdate mutation ## Type Definition ```graphql type CartLinesUpdatePayload { cart: Cart userErrors: [UserError]! } ``` ## Fields | Field | Type | Description | |-------|------|-------------| | cart | Cart | The updated cart | | userErrors | [UserError]! | List of errors that occurred during cart lines update | ## Relationships CartLinesUpdatePayload is returned by the `cartLinesUpdate` mutation and contains a reference to the updated Cart object. The userErrors field provides information about any errors that occurred during the update operation. ## Example ```graphql { cartLinesUpdate(cartId: "eyJhbGciOiJIUzI1NiJ9...", lines: [{id: "12345", quantity: 2}]) { cart { id lines(first: 10) { edges { node { id quantity } } } } userErrors { field message } } } ``` ## Implements None ## Related Types - [Cart](/reference/storefront/1.3.0/objects/cart) - [UserError](/reference/storefront/1.3.0/objects/user-error)