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

# checkoutShippingAddressUpdate Mutation

Updates shipping address in the existing checkout.

Triggers the following webhook events:

-   CHECKOUT\_UPDATED (async): A checkout was updated.

```graphql
checkoutShippingAddressUpdate(
  checkoutId: ID
  id: ID
  saveAddress: Boolean = true
  shippingAddress: AddressInput!
  token: UUID
  validationRules: CheckoutAddressValidationRules
): CheckoutShippingAddressUpdate
```

Details

```graphql
type CheckoutShippingAddressUpdate {
  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="save-address"></a>

#### [`saveAddress`](#save-address) ● [`Boolean`](/api-reference/miscellaneous/scalars/boolean.md)

Indicates whether the shipping address should be saved to the user’s address book upon checkout completion. If not provided, the default behavior is to save the address.

Added in Saleor 3.21

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

#### [`shippingAddress`](#shipping-address) ● [`AddressInput!`](/api-reference/miscellaneous/inputs/address-input.md)

The mailing address to where the checkout will be shipped.

<a id="validation-rules"></a>

#### [`validationRules`](#validation-rules) ● [`CheckoutAddressValidationRules`](/api-reference/checkout/inputs/checkout-address-validation-rules.md)

The rules for changing validation for received shipping address data.

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

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

Updates shipping address in the existing checkout.

Triggers the following webhook events:

-   CHECKOUT\_UPDATED (async): A checkout was updated.
