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
Show return type
Arguments
id ● ID
The checkout's ID.
shippingMethodId ● ID
Shipping method.
Show deprecated
Type
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.