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

# webhookUpdate Mutation

Updates a webhook subscription.

Requires one of the following permissions: MANAGE\_APPS AUTHENTICATED\_APP

```graphql
webhookUpdate(
  id: ID
  identifier: String
  input: WebhookUpdateInput!
): WebhookUpdate
```

Details

```graphql
type WebhookUpdate {
  webhookErrors: [WebhookError!]! @deprecated
  errors: [WebhookError!]!
  webhook: Webhook
}
```

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

### Arguments

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

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

ID of a webhook to update. Cannot be used together with `identifier`.

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

#### [`identifier`](#identifier) ● [`String`](/api-reference/miscellaneous/scalars/string.md)

App-provided identifier of a webhook to update. Identifiers are unique per app only, so this argument is available exclusively to an app referencing its own webhook; staff users must use `id`. Cannot be used together with `id`.

Added in Saleor 3.23

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

#### [`input`](#input) ● [`WebhookUpdateInput!`](/api-reference/webhooks/inputs/webhook-update-input.md)

Fields required to update a webhook.

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

### Type

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

#### [`WebhookUpdate`](/api-reference/webhooks/objects/webhook-update.md)

Updates a webhook subscription.

Requires one of the following permissions: MANAGE\_APPS AUTHENTICATED\_APP
