Anchor to cartDeliveryAddressesAddcart
mutationcart Delivery Addresses Add
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.
Anchor to Arguments
Arguments
- addresses ([CartSelectableAddressInput!]!)
- cartId (ID!)
- Anchor to addressesaddresses•[Cart
Selectable Address Input!]! required A list of delivery addresses to add to the cart.
The input must not contain more than
250values.- Anchor to cartIdcart•ID!
Id required The ID of the cart.
Was this section helpful?
- 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?