Skip to main content
Anchor to cartDeliveryMethodsUpdate

cartDeliveryMethodsUpdate

mutation

Changes the destinations of the delivery methods of a Cart. A pickup entry moves the pickup of the cart to another location. A shipping entry replaces the delivery addresses of the cart with its addresses, and an empty list removes them.

The input has at most one entry of each type. The lines of the cart keep their delivery methods. Every destination must be in the same country as the other destinations of the cart.

•ID!
required

The ID of the cart.

•[CartDeliveryMethodInput!]!
required

The delivery methods to update, at most one of each type.

The input must not contain more than 250 values.

Show input fields

Was this section helpful?

Anchor to CartDeliveryMethodsUpdatePayload returnsCartDeliveryMethodsUpdatePayload 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?