# cartLinesAdd - storefront - MUTATION Version: 2024-10 ## Description Adds a merchandise line to the cart. ### Access Scopes ## Arguments * [cartId](/docs/api/storefront/2024-10/scalars/ID): ID! - The ID of the cart. * [lines](/docs/api/storefront/2024-10/input-objects/CartLineInput): CartLineInput! - A list of merchandise lines to add to the cart. The input must not contain more than `250` values. ## Returns * [cart](/docs/api/storefront/2024-10/objects/Cart): Cart The updated cart. * [userErrors](/docs/api/storefront/2024-10/objects/CartUserError): CartUserError! The list of errors that occurred from executing the mutation. * [warnings](/docs/api/storefront/2024-10/objects/CartWarning): CartWarning! A list of warnings that occurred during the mutation. ## Examples