Anchor to pubSubWebhookSubscriptionCreatepub
mutationpub Sub Webhook Subscription Create
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.
Anchor to Arguments
Arguments
- Anchor to topictopic•Webhook
Subscription Topic!required The type of event that triggers the webhook.
- Anchor to webhookSubscriptionwebhook•Pub
Subscription Sub Webhook Subscription Input!required Specifies the input fields for a Google Cloud Pub/Sub webhook subscription.
Was this section helpful?
Anchor to PubSubWebhookSubscriptionCreatePayload returnsPub Sub Webhook Subscription Create Payload returns
- Anchor to userErrorsuser•[Pub
Errors Sub Webhook Subscription Create User Error!]!non-null The list of errors that occurred from executing the mutation.
- Anchor to webhookSubscriptionwebhook•Webhook
Subscription Subscription The webhook subscription that was created.
Was this section helpful?