Skip to main content

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 miscellaneous

The ID of the checkout.

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

checkoutShippingMethodUpdate.id ● ID scalar miscellaneous

The checkout's ID.

Added in Saleor 3.4

checkoutShippingMethodUpdate.shippingMethodId ● ID scalar miscellaneous

Shipping method.

checkoutShippingMethodUpdate.token ● UUID scalar miscellaneous

Checkout token.

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

Type

CheckoutShippingMethodUpdate object checkout

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.