Skip to main content
input_object

The input fields for updating a merchandise line in a cart. Used by the cartLinesUpdate mutation.

Specify the line item's id along with any fields to modify. You can change the quantity, swap the merchandise, update custom attributes, or associate a different selling plan.

•[AttributeInput!]

An array of key-value pairs that contains additional information about the merchandise line.

The input must not contain more than 250 values.

•ID!
non-null

The ID of the merchandise line.

•ID

The ID of the merchandise for the line item.

•Int

The quantity of the line item.

•ID

The ID of the selling plan that the merchandise is being purchased with.


Was this section helpful?