cartLinesAdd - storefront - MUTATION
Version: 2025-01
Description:
Adds a merchandise line to the cart.
Access Scopes
Arguments
-
cartId:
ID! -
The ID of the cart.
-
lines:
CartLineInput! -
A list of merchandise lines to add to the cart.
The input must not contain more than `250` values.
Returns
-
cart:
Cart
The updated cart.
-
userErrors:
CartUserError!
The list of errors that occurred from executing the mutation.
-
warnings:
CartWarning!
A list of warnings that occurred during the mutation.
Examples