Skip to main content

checkoutDeliveryMethodUpdate Mutation

Updates the delivery method (shipping method or pick up point) of the checkout. Updates the checkout shipping_address for click and collect delivery for a warehouse address.

Triggers the following webhook events:

  • SHIPPING_LIST_METHODS_FOR_CHECKOUT (sync): Triggered when updating the checkout delivery method with the external one.
  • CHECKOUT_UPDATED (async): A checkout was updated.
checkoutDeliveryMethodUpdate(
deliveryMethodId: ID
id: ID
token: UUID
): CheckoutDeliveryMethodUpdate
Show return type

Arguments

deliveryMethodId ● ID

Delivery Method ID (Warehouse ID or ShippingMethod ID).

id ● ID

The checkout's ID.

Show deprecated

Type

CheckoutDeliveryMethodUpdate

Updates the delivery method (shipping method or pick up point) of the checkout. Updates the checkout shipping_address for click and collect delivery for a warehouse address.

Triggers the following webhook events:

  • SHIPPING_LIST_METHODS_FOR_CHECKOUT (sync): Triggered when updating the checkout delivery method with the external one.
  • CHECKOUT_UPDATED (async): A checkout was updated.