Skip to main content
Anchor to cartDeliveryMethodsRemove

cartDeliveryMethodsRemove

mutation

Removes delivery methods from a Cart by the IDs that CartDelivery.methods 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.

•ID!
required

The ID of the cart.

•[ID!]!
required

The IDs of the delivery methods to remove, as CartDelivery.methods returns them.

The input must not contain more than 250 values.


Was this section helpful?

Anchor to CartDeliveryMethodsRemovePayload returnsCartDeliveryMethodsRemovePayload returns

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