Skip to main content
Anchor to CartLinesRemovePayload

CartLinesRemovePayload

payload

Return type for cartLinesRemove mutation.

•Cart

The updated cart.

Show fields
•[CartUserError!]!
non-null

The list of errors that occurred from executing the mutation.

Show fields
•[CartWarning!]!
non-null

A list of warnings that occurred during the mutation.

Show fields

Was this section helpful?

Anchor to Mutations with this payloadMutations with this payload

•mutation

Removes one or more merchandise lines from a Cart. Accepts up to 250 line IDs per request. Returns the updated cart along with any errors or warnings.

Show payload

Arguments

•ID!
required

The ID of the cart.

•[ID!]

The merchandise line IDs to remove. Mutually exclusive with viewKeys.

The input must not contain more than 250 values.

•[String!]

The merchandise line view_key values to remove, as exposed in Liquid via the cart line view_key filter. Mutually exclusive with lineIds.

The input must not contain more than 250 values.



Was this section helpful?