Skip to main content
Log inSign up

Shopify uses cookies to provide necessary site functionality and improve your experience. By using our website, you agree to our privacy policy and our cookie policy.

Anchor to pubSubWebhookSubscriptionCreate

pubSubWebhookSubscriptionCreate

mutation

Creates a new Google Cloud Pub/Sub 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.

The type of event that triggers the webhook.

Specifies the input fields for a Google Cloud Pub/Sub webhook subscription.


Was this section helpful?

Anchor to PubSubWebhookSubscriptionCreatePayload returnsPubSubWebhookSubscriptionCreatePayload returns

The list of errors that occurred from executing the mutation.

The webhook subscription that was created.


Was this section helpful?