cartLinesAdd - storefront - MUTATION
Version: 2024-04
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.
Examples