cartRemoveLines
Remove one or more lines from the cart by CartLine.id. Equivalent to cartUpdateLines with quantity: 0 but lets the storefront express the intent explicitly.
cartRemoveLines(
id: ID!
lineIds: [ID!]!
): CartRemoveLinesPayload!
Arguments
cartRemoveLines.id ● ID! non-null scalar
Cart UUID to remove lines from
cartRemoveLines.lineIds ● [ID!]! non-null scalar
UUIDs of cart lines to remove (CartLine.id)
Type
CartRemoveLinesPayload object
Result of cartRemoveLines.