# CartLinesRemovePayload Payload returned by the cartLinesRemove mutation. ## Type Definition ```graphql type CartLinesRemovePayload { cart: Cart userErrors: [UserError]! } ``` ## Fields | Field | Type | Description | |-------|------|-------------| | cart | Cart | The updated cart | | userErrors | [UserError]! | List of errors that occurred during cart lines removal | ## Relationships CartLinesRemovePayload is returned by the `cartLinesRemove` mutation. It contains a reference to the updated Cart object after line items have been removed, and includes a list of UserError objects that describe any errors that occurred during the operation. ## Example ```graphql { cartLinesRemove(cartId: "eyJhbGciOiJIUzI1NiJ9...", lineIds: ["12345"]) { cart { id lines { 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)