# CartLinesUpdatePayload Payload returned by the cartLinesUpdate mutation. This type contains the updated cart data and any errors that occurred during the cart lines update operation. ## 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. It contains a reference to the updated `Cart` object and provides a list of `UserError` objects that detail any validation or processing errors that occurred during the cart lines update operation. ## Example ```graphql { cartLinesUpdate(cartId: "eyJhbGciOiJIUzI1NiJ9...", lines: [{id: "12345", quantity: 2}]) { cart { id totalQuantity } userErrors { field message } } } ``` ## Implements This type does not implement any interfaces. ## Related Types - [Cart](/reference/storefront/v1/objects/cart) - [UserError](/reference/storefront/v1/objects/user-error)