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.
Added in Saleor 3.1Triggers 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 orShippingMethod
ID).
checkoutDeliveryMethodUpdate.id
● ID
scalar miscellaneous
The checkout's ID.
Added in Saleor 3.4
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.
Added in Saleor 3.1Triggers 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.