API version: unstable
API version: 2021-01 Release candidate
API version: 2020-10 Latest
API version: 2020-07
API version: 2020-04
API version: 2020-01
API version: 2019-10 Unsupported
API version: 2019-07 Unsupported

webhookSubscriptionUpdate mutation

Version unstable

Updates a 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

id ( ID! ) required

The ID of the webhook subscription to update.

webhookSubscription ( WebhookSubscriptionInput! ) required

Specifies the input fields for a webhook subscription.

WebhookSubscriptionInput fields

callbackUrl (URL)

URL where the webhook subscription should send the POST request when the event occurs.

format (WebhookSubscriptionFormat)

The format in which the webhook subscription should send the data.

includeFields ([String!])

The list of fields to be included in the webhook subscription.

metafieldNamespaces ([String!])

The list of namespaces for any metafields that should be included in the webhook subscription.

Return fields

userErrors ([UserError!]!)

List of errors that occurred executing the mutation.

webhookSubscription (WebhookSubscription)

The webhook subscription that was updated.

Version 2021-01 (Release candidate)

Updates a 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

id ( ID! ) required

The ID of the webhook subscription to update.

webhookSubscription ( WebhookSubscriptionInput! ) required

Specifies the input fields for a webhook subscription.

WebhookSubscriptionInput fields

callbackUrl (URL)

URL where the webhook subscription should send the POST request when the event occurs.

format (WebhookSubscriptionFormat)

The format in which the webhook subscription should send the data.

includeFields ([String!])

The list of fields to be included in the webhook subscription.

metafieldNamespaces ([String!])

The list of namespaces for any metafields that should be included in the webhook subscription.

Return fields

userErrors ([UserError!]!)

List of errors that occurred executing the mutation.

webhookSubscription (WebhookSubscription)

The webhook subscription that was updated.

Version 2020-10 (Latest)

Updates a 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

id ( ID! ) required

The ID of the webhook subscription to update.

webhookSubscription ( WebhookSubscriptionInput! ) required

Specifies the input fields for a webhook subscription.

WebhookSubscriptionInput fields

callbackUrl (URL)

URL where the webhook subscription should send the POST request when the event occurs.

format (WebhookSubscriptionFormat)

The format in which the webhook subscription should send the data.

includeFields ([String!])

The list of fields to be included in the webhook subscription.

metafieldNamespaces ([String!])

The list of namespaces for any metafields that should be included in the webhook subscription.

Return fields

userErrors ([UserError!]!)

List of errors that occurred executing the mutation.

webhookSubscription (WebhookSubscription)

The webhook subscription that was updated.

Version 2020-07

Updates a 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

id ( ID! ) required

The ID of the webhook subscription to update.

webhookSubscription ( WebhookSubscriptionInput! ) required

Specifies the input fields for a webhook subscription.

WebhookSubscriptionInput fields

callbackUrl (URL)

URL where the webhook subscription should send the POST request when the event occurs.

format (WebhookSubscriptionFormat)

The format in which the webhook subscription should send the data.

includeFields ([String!])

The list of fields to be included in the webhook subscription.

metafieldNamespaces ([String!])

The list of namespaces for any metafields that should be included in the webhook subscription.

Return fields

userErrors ([UserError!]!)

List of errors that occurred executing the mutation.

webhookSubscription (WebhookSubscription)

The webhook subscription that was updated.

Version 2020-04

Updates a 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

id ( ID! ) required

The ID of the webhook subscription to update.

webhookSubscription ( WebhookSubscriptionInput! ) required

Specifies the input fields for a webhook subscription.

WebhookSubscriptionInput fields

callbackUrl (URL)

URL where the webhook subscription should send the POST request when the event occurs.

format (WebhookSubscriptionFormat)

The format in which the webhook subscription should send the data.

includeFields ([String!])

The list of fields to be included in the webhook subscription.

metafieldNamespaces ([String!])

The list of namespaces for any metafields that should be included in the webhook subscription.

Return fields

userErrors ([UserError!]!)

List of errors that occurred executing the mutation.

webhookSubscription (WebhookSubscription)

The webhook subscription that was updated.

Version 2020-01

Updates a 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

id ( ID! ) required

The ID of the webhook subscription to update.

webhookSubscription ( WebhookSubscriptionInput! ) required

Specifies the input fields for a webhook subscription.

WebhookSubscriptionInput fields

callbackUrl (URL)

URL where the webhook subscription should send the POST request when the event occurs.

format (WebhookSubscriptionFormat)

The format in which the webhook subscription should send the data.

includeFields ([String!])

The list of fields to be included in the webhook subscription.

metafieldNamespaces ([String!])

The list of namespaces for any metafields that should be included in the webhook subscription.

Return fields

userErrors ([UserError!]!)

List of errors that occurred executing the mutation.

webhookSubscription (WebhookSubscription)

The webhook subscription that was updated.

Version 2019-10 (Unsupported)

Updates a 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

id ( ID! ) required

The ID of the webhook subscription to update.

webhookSubscription ( WebhookSubscriptionInput! ) required

Specifies the input fields for a webhook subscription.

WebhookSubscriptionInput fields

callbackUrl (URL)

URL where the webhook subscription should send the POST request when the event occurs.

format (WebhookSubscriptionFormat)

The format in which the webhook subscription should send the data.

includeFields ([String!])

The list of fields to be included in the webhook subscription.

metafieldNamespaces ([String!])

The list of namespaces for any metafields that should be included in the webhook subscription.

Return fields

userErrors ([UserError!]!)

List of errors that occurred executing the mutation.

webhookSubscription (WebhookSubscription)

The webhook subscription that was updated.

Version 2019-07 (Unsupported)

Updates a 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

id ( ID! ) required

The ID of the webhook subscription to update.

webhookSubscription ( WebhookSubscriptionInput! ) required

Specifies the input fields for a webhook subscription.

WebhookSubscriptionInput fields

callbackUrl (URL)

URL where the webhook subscription should send the POST request when the event occurs.

format (WebhookSubscriptionFormat)

The format in which the webhook subscription should send the data.

includeFields ([String!])

The list of fields to be included in the webhook subscription.

metafieldNamespaces ([String!])

The list of namespaces for any metafields that should be included in the webhook subscription.

Return fields

userErrors ([UserError!]!)

List of errors that occurred executing the mutation.

webhookSubscription (WebhookSubscription)

The webhook subscription that was updated.

Version 2019-04 (Unsupported)

Updates a 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

id ( ID! ) required

The ID of the webhook subscription to update.

webhookSubscription ( WebhookSubscriptionInput! ) required

Specifies the input fields for a webhook subscription.

WebhookSubscriptionInput fields

callbackUrl (URL)

URL where the webhook subscription should send the POST request when the event occurs.

format (WebhookSubscriptionFormat)

The format in which the webhook subscription should send the data.

includeFields ([String!])

The list of fields to be included in the webhook subscription.

metafieldNamespaces ([String!])

The list of namespaces for any metafields that should be included in the webhook subscription.

Return fields

userErrors ([UserError!]!)

List of errors that occurred executing the mutation.

webhookSubscription (WebhookSubscription)

The webhook subscription that was updated.