Skip to main content

CheckoutShippingMethodUpdate

Updates the shipping method of the checkout.

Triggers the following webhook events:

  • SHIPPING_LIST_METHODS_FOR_CHECKOUT (sync): Triggered when updating the checkout shipping method with the external one.
  • CHECKOUT_UPDATED (async): A checkout was updated.
type CheckoutShippingMethodUpdate {
checkout: Checkout
checkoutErrors: [CheckoutError!]! @deprecated
errors: [CheckoutError!]!
}

Fields

CheckoutShippingMethodUpdate.checkout ● Checkout object checkout

An updated checkout.

CheckoutShippingMethodUpdate.checkoutErrors ● [CheckoutError!]! deprecated non-null object checkout

DEPRECATED

This field will be removed in Saleor 4.0. Use errors field instead.

CheckoutShippingMethodUpdate.errors ● [CheckoutError!]! non-null object checkout

Returned By

checkoutShippingMethodUpdate mutation