> Documentation index: [Saleor](/llms.txt) · [This section](/api-reference/checkout/llms.txt)
> Source: https://docs.saleor.io/api-reference/checkout/mutations/checkout-delivery-method-update

# 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\_FILTER\_SHIPPING\_METHODS (sync): Optionally triggered when cached filtered shipping methods are invalid.
-   CHECKOUT\_UPDATED (async): A checkout was updated.

```graphql
checkoutDeliveryMethodUpdate(
  deliveryMethodId: ID
  id: ID
  token: UUID
): CheckoutDeliveryMethodUpdate
```

Details

```graphql
type CheckoutDeliveryMethodUpdate {
  checkout: Checkout
  errors: [CheckoutError!]!
}
```

<a id="arguments"></a>

### Arguments

<a id="delivery-method-id"></a>

#### [`deliveryMethodId`](#delivery-method-id) ● [`ID`](/api-reference/miscellaneous/scalars/id.md)

Delivery Method ID (`Warehouse` ID or `ShippingMethod` ID or `CheckoutDelivery` ID).

DEPRECATED: Usage of `ShippingMethod` ID is deprecated. Use CheckoutDelivery ID instead.

<a id="id"></a>

#### [`id`](#id) ● [`ID`](/api-reference/miscellaneous/scalars/id.md)

The checkout's ID.

Show deprecatedHide deprecated

<a id="token"></a>

#### [`token`](#token) ● [`UUID`](/api-reference/miscellaneous/scalars/uuid.md)

DEPRECATED

Use `id` instead.

Checkout token.

<a id="type"></a>

### Type

<a id="checkoutdeliverymethodupdate"></a>

#### [`CheckoutDeliveryMethodUpdate`](/api-reference/checkout/objects/checkout-delivery-method-update.md)

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\_FILTER\_SHIPPING\_METHODS (sync): Optionally triggered when cached filtered shipping methods are invalid.
-   CHECKOUT\_UPDATED (async): A checkout was updated.
