Skip to main content

webhookUpdate Mutation

Updates a webhook subscription.

Requires one of the following permissions: MANAGE_APPSAUTHENTICATED_APP
webhookUpdate(
id: ID
identifier: String
input: WebhookUpdateInput!
): WebhookUpdate
Details
type WebhookUpdate {
webhookErrors: [WebhookError!]! @deprecated
errors: [WebhookError!]!
webhook: Webhook
}

Arguments​

id ● ID​

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

identifier ● String​

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

input ● WebhookUpdateInput!​

Fields required to update a webhook.

Type​

WebhookUpdate​

Updates a webhook subscription.

Requires one of the following permissions: MANAGE_APPSAUTHENTICATED_APP