Skip to main content
Version: 3.x

checkoutShippingMethodUpdate

DEPRECATED

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

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.
checkoutShippingMethodUpdate(
checkoutId: ID
id: ID
shippingMethodId: ID
token: UUID
): CheckoutShippingMethodUpdate @deprecated

Arguments

checkoutShippingMethodUpdate.checkoutId ● ID scalar

The ID of the checkout.

DEPRECATED: this field will be removed in Saleor 4.0. Use id instead.

checkoutShippingMethodUpdate.id ● ID scalar

The checkout's ID.

Added in Saleor 3.4

checkoutShippingMethodUpdate.shippingMethodId ● ID scalar

Shipping method.

checkoutShippingMethodUpdate.token ● UUID scalar

Checkout token.

DEPRECATED: this field will be removed in Saleor 4.0. Use id instead.

Type

CheckoutShippingMethodUpdate object

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.

Was this page helpful?