--- title: CartLinesAddPayload - Storefront API description: Return type for `cartLinesAdd` mutation. api_version: 2025-01 api_name: storefront type: payload api_type: graphql source_url: html: 'https://shopify.dev/docs/api/storefront/2025-01/payloads/CartLinesAddPayload' md: >- https://shopify.dev/docs/api/storefront/2025-01/payloads/CartLinesAddPayload.md --- # Cart​Lines​Add​Payload payload Return type for `cartLinesAdd` mutation. ## Fields * cart [Cart](https://shopify.dev/docs/api/storefront/2025-01/objects/Cart) The updated cart. * user​Errors [\[Cart​User​Error!\]!](https://shopify.dev/docs/api/storefront/2025-01/objects/CartUserError) non-null The list of errors that occurred from executing the mutation. * warnings [\[Cart​Warning!\]!](https://shopify.dev/docs/api/storefront/2025-01/objects/CartWarning) non-null A list of warnings that occurred during the mutation. *** ## Mutations with this payload * [cart​Lines​Add](https://shopify.dev/docs/api/storefront/2025-01/mutations/cartLinesAdd) mutation Adds a merchandise line to the cart. * cart​Id [ID!](https://shopify.dev/docs/api/storefront/2025-01/scalars/ID) required ### Arguments The ID of the cart. * lines [\[Cart​Line​Input!\]!](https://shopify.dev/docs/api/storefront/2025-01/input-objects/CartLineInput) required A list of merchandise lines to add to the cart. The input must not contain more than `250` values. *** *** ## Map ### Mutations with this payload * [cart​Lines​Add](https://shopify.dev/docs/api/storefront/2025-01/types/cartLinesAdd)