Skip to main content
Anchor to WebhookSubscriptionUpdatePayload

WebhookSubscriptionUpdatePayload

payload

Return type for webhookSubscriptionUpdate mutation.

•[UserError!]!
non-null

The list of errors that occurred from executing the mutation.

•WebhookSubscription

The webhook subscription that was updated.


Was this section helpful?

Anchor to Mutations with this payloadMutations with this payload

•mutation

Updates a webhook subscription's configuration. Modify the endpoint URL, event filters, included fields, or metafield namespaces without recreating the subscription.

The mutation accepts a WebhookSubscriptionInput that specifies the new configuration. You can switch between endpoint types (HTTP, Pub/Sub, EventBridge) by providing a different URI format. Updates apply atomically without interrupting webhook delivery.

Building an app? If you only use app-specific webhooks, you won't need this. App-specific webhook subscriptions specified in your shopify.app.toml may be easier. They are automatically kept up to date by Shopify & require less maintenance. Please read About managing webhook subscriptions.

Arguments

•ID!
required

The ID of the webhook subscription to update.

•WebhookSubscriptionInput!
required

Specifies the input fields for a webhook subscription.



Was this section helpful?