Skip to main content

checkoutShippingMethodUpdate Mutation

DEPRECATED

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 deprecated scalar miscellaneous

DEPRECATED

Use id instead.

The ID of the checkout.

checkoutShippingMethodUpdate.id ● ID scalar miscellaneous

The checkout's ID.

checkoutShippingMethodUpdate.shippingMethodId ● ID scalar miscellaneous

Shipping method.

checkoutShippingMethodUpdate.token ● UUID deprecated scalar miscellaneous

DEPRECATED

Use id instead.

Checkout token.

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.