Anchor to cartDeliveryMethodsRemovecart
mutationcart Delivery Methods Remove
Removes delivery methods from a
Cart by the IDs that
returns. The lines of a removed method get the default delivery method, which
is shipping. Removing the pickup method also removes the pickup location of
the cart. Removing the shipping method removes the delivery addresses of the cart.
Anchor to Arguments
Arguments
- cartId (ID!)
- methodIds ([ID!]!)
- Anchor to cartIdcart•ID!
Id required The ID of the cart.
- Anchor to methodIdsmethod•[ID!]!
Ids required The IDs of the delivery methods to remove, as
returns them.The input must not contain more than
250values.
Was this section helpful?
- cart (Cart)
- userErrors ([CartUserError!]!)
- warnings ([CartWarning!]!)
- Anchor to cartcart•Cart
The updated cart.
Show fields
- Anchor to userErrorsuser•[Cart
Errors User Error!]! non-null The list of errors that occurred from executing the mutation.
Show fields
- Anchor to warningswarnings•[Cart
Warning!]! non-null A list of warnings that occurred during the mutation.
Show fields
Was this section helpful?