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

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

```graphql
checkoutShippingMethodUpdate(
  checkoutId: ID
  id: ID
  shippingMethodId: ID
  token: UUID
): CheckoutShippingMethodUpdate @deprecated
```

Details

```graphql
type CheckoutShippingMethodUpdate {
  checkout: Checkout
  checkoutErrors: [CheckoutError!]! @deprecated
  errors: [CheckoutError!]!
}
```

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

### Arguments

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

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

The checkout's ID.

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

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

Shipping method.

Show deprecatedHide deprecated

<a id="checkout-id"></a>

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

DEPRECATED

Use `id` instead.

The ID of the checkout.

<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="checkoutshippingmethodupdate"></a>

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

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