Anchor to CartLinesUpdatePayloadCart
payloadCart Lines Update 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
- cartLinesUpdate (CartLinesUpdatePayload)
- •mutation
Updates one or more merchandise lines on a
Cart. You can modify the quantity, swap the merchandise, change custom attributes, or update the selling plan for each line. You can update a maximum of 250 lines per request.Omitting the
attributesfield or setting it to null preserves existing line attributes. Pass an empty array to clear all attributes from a line.- Anchor to cartIdcart•ID!
Id required The ID of the cart.
- Anchor to lineslines•[Cart
Line Update Input!]! required The merchandise lines to update.
The input must not contain more than
250values.
Arguments
Was this section helpful?