Skip to main content
Anchor to cartDeliveryAddressesAdd

cartDeliveryAddressesAdd

mutation

Adds delivery addresses to a Cart. A cart can have up to 20 delivery addresses. One address can be marked as selected for checkout, and addresses can optionally be marked as one-time use so they aren't saved to the customer's account.

•[CartSelectableAddressInput!]!
required

A list of delivery addresses to add to the cart.

The input must not contain more than 250 values.

Show input fields
•ID!
required

The ID of the cart.


Was this section helpful?

Anchor to CartDeliveryAddressesAddPayload returnsCartDeliveryAddressesAddPayload 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?