Anchor to CartSelectedDeliveryOptionsUpdatePayloadCart
payloadCart Selected Delivery Options Update Payload
Return type for mutation.
Anchor to FieldsFields
- 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?
Anchor to Mutations with this payloadMutations with this payload
- cartSelectedDeliveryOptionsUpdate (CartSelectedDeliveryOptionsUpdatePayload)
- •mutation
Updates the selected delivery option for one or more
objects in a cart. Each delivery group represents items shipping to a specific address and offers multiple delivery options with different costs and methods.Use this mutation when a customer chooses their preferred shipping method during checkout. The
identifies whichto select for each delivery group.- Anchor to cartIdcart•ID!
Id required The ID of the cart.
- Anchor to selectedDeliveryOptionsselected•[Cart
Delivery Options Selected Delivery Option Input!]! required The selected delivery options.
The input must not contain more than
250values.
Arguments
Was this section helpful?