Skip to main content
Anchor to webhookSubscriptionCreate

webhookSubscriptionCreate

mutation

Creates a new webhook subscription.

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.

•WebhookSubscriptionTopic!required

The type of event that triggers the webhook.

•WebhookSubscriptionInput!required

Specifies the input fields for a webhook subscription.


Was this section helpful?

Anchor to WebhookSubscriptionCreatePayload returnsWebhookSubscriptionCreatePayload returns

•[UserError!]!non-null

The list of errors that occurred from executing the mutation.

•WebhookSubscription

The webhook subscription that was created.


Was this section helpful?