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

Arguments

checkoutDeliveryMethodUpdate.deliveryMethodId ● ID scalar miscellaneous

Delivery Method ID (Warehouse ID or ShippingMethod ID).

checkoutDeliveryMethodUpdate.id ● ID scalar miscellaneous

The checkout's ID.

checkoutDeliveryMethodUpdate.token ● UUID scalar miscellaneous

Checkout token.

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

Type

CheckoutDeliveryMethodUpdate object checkout

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.