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

# shopDomainUpdate Mutation

DEPRECATED

Use `PUBLIC_URL` environment variable instead.

Updates site domain of the shop.

Requires the MANAGE\_SETTINGS permission.

```graphql
shopDomainUpdate(
  input: SiteDomainInput
): ShopDomainUpdate @deprecated
```

Details

```graphql
type ShopDomainUpdate {
  shop: Shop
  shopErrors: [ShopError!]! @deprecated
  errors: [ShopError!]!
}
```

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

### Arguments

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

#### [`input`](#input) ● [`SiteDomainInput`](/api-reference/miscellaneous/inputs/site-domain-input.md)

Fields required to update site.

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

### Type

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

#### [`ShopDomainUpdate`](/api-reference/shop/objects/shop-domain-update.md)

Updates site domain of the shop.

Requires the MANAGE\_SETTINGS permission.
