webhookSubscriptionCreate

Version 2019-04

Creates a new webhook subscription.

Interactive Example

This is an example mutation query. Use the embedded interactive tool below to edit the query.

Hint: use Ctrl + Space for autocompleting fields.


Arguments

topic ( WebhookSubscriptionTopic! ) required

The type of event that triggers the webhook.

webhookSubscription ( WebhookSubscriptionInput! ) required

Specifies the input fields for a webhook subscription.

Return Fields

userErrors ([UserError!]!)

List of errors that occurred executing the mutation.

webhookSubscription (WebhookSubscription)

The webhook subscription that was created.

Version 2019-07 (Latest)

Creates a new webhook subscription.

Interactive Example

This is an example mutation query. Use the embedded interactive tool below to edit the query.

Hint: use Ctrl + Space for autocompleting fields.


Arguments

topic ( WebhookSubscriptionTopic! ) required

The type of event that triggers the webhook.

webhookSubscription ( WebhookSubscriptionInput! ) required

Specifies the input fields for a webhook subscription.

Return Fields

userErrors ([UserError!]!)

List of errors that occurred executing the mutation.

webhookSubscription (WebhookSubscription)

The webhook subscription that was created.

Version 2019-10 (Release candidate)

Creates a new webhook subscription.

Interactive Example

This is an example mutation query. Use the embedded interactive tool below to edit the query.

Hint: use Ctrl + Space for autocompleting fields.


Arguments

topic ( WebhookSubscriptionTopic! ) required

The type of event that triggers the webhook.

webhookSubscription ( WebhookSubscriptionInput! ) required

Specifies the input fields for a webhook subscription.

Return Fields

userErrors ([UserError!]!)

List of errors that occurred executing the mutation.

webhookSubscription (WebhookSubscription)

The webhook subscription that was created.

Sign up for a Partner account to get started.

Sign up