Anchor to CartLinesRemovePayloadCart
payloadCart Lines Remove Payload
Return type for mutation.
Anchor to FieldsFields
- cart (Cart)
- userErrors ([CartUserError!]!)
- warnings ([CartWarning!]!)
- Anchor to cartcart•Cart
The updated cart.
- Anchor to userErrorsuser•[Cart
Errors User Error!]! non-null The list of errors that occurred from executing the mutation.
- Anchor to warningswarnings•[Cart
Warning!]! non-null A list of warnings that occurred during the mutation.
Was this section helpful?
Anchor to Mutations with this payloadMutations with this payload
- cartLinesRemove (CartLinesRemovePayload)
- •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.- Anchor to cartIdcart•ID!
Id required The ID of the cart.
- Anchor to lineIdsline•[ID!]
Ids The merchandise line IDs to remove. Mutually exclusive with
.The input must not contain more than
250values.- Anchor to viewKeysview•[String!]
Keys The merchandise line
values to remove, as exposed in Liquid via the cart linefilter. Mutually exclusive with.The input must not contain more than
250values.
Arguments
Was this section helpful?