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

The ID of the merchandise line. Mutually exclusive with viewKey.

•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.

•String

The view_key of the merchandise line, as exposed in Liquid via the cart line view_key filter. Mutually exclusive with id.


Was this section helpful?

Anchor to Mutations using this inputMutations using this input


Was this section helpful?