Przejdź do głównej zawartości

cartUpdateLines

Update existing cart lines — quantity, custom attributes and / or configurator selections. Set quantity to 0 to remove a line. Address lines by CartLine.id.

cartUpdateLines(
id: ID!
lines: [CartLineUpdateInput!]!
): CartUpdateLinesPayload!

Arguments​

cartUpdateLines.id ● ID! non-null scalar​

Cart UUID to update lines on

cartUpdateLines.lines ● [CartLineUpdateInput!]! non-null input​

Line updates — addressed by CartLine.id; quantity: 0 removes the line

Type​

CartUpdateLinesPayload object​

Result of cartUpdateLines.