For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Dev Portal
DocsAPI ReferenceLearnCommunityChangelog
DocsAPI ReferenceLearnCommunityChangelog
    • About Our APIs
  • REST
    • Overview
  • GraphQL
    • Overview
          • MUTcreateAppExtension
          • MUTupdateAppExtension
          • MUTdeleteAppExtension
          • MUTcreateChannel
          • MUTremoveProductBasicInformationOverrides
          • MUTremoveProductSeoInformationOverrides
          • MUTremoveProductOptionsOverrides
          • MUTremoveProductStorefrontDetailsOverrides
          • MUTremoveProductPreOrderSettingsOverrides
          • MUTsetProductBasicInformation
          • MUTsetProductIsFeatured
          • MUTremoveProductIsFeaturedOverride
          • MUTsetProductSeoInformation
          • MUTsetProductStorefrontDetails
          • MUTsetProductPreOrderSettings
          • MUTsetProductOptionsInformation
          • MUTsetProductUrlPath
          • MUTremoveProductUrlPathOverride
          • MUTsetProductModifiersInformation
          • MUTremoveProductModifiersOverrides
          • MUTremoveProductCustomFieldsOverrides
          • MUTupdateProductCustomFields
          • MUTaddImagesToProduct
          • MUTremoveImagesFromProduct
          • MUTupdateProductImageProperties
          • MUTremoveProductImagePropertiesOverrides
          • MUTsetSharedProductModifiersInformation
          • MUTremoveSharedProductModifiersOverrides
          • MUTsetSharedProductOptionsInformation
          • MUTremoveSharedProductOptionsOverrides
          • MUTsettings
          • MUTupdateTranslations
          • MUTdeleteTranslations
          • MUTaddLocale
          • MUTdeleteLocale
          • MUTupdateLocale
          • MUTcreateEventBridgeWebhook
          • MUTcreatePubSubWebhook
          • MUTupdatePubSubWebhook
          • MUTupdateEventBridgeWebhook
          • MUTcreateHttpsWebhook
          • MUTdeleteWebhook
          • MUTupdateHttpsWebhook
          • MUTcreateMetafield
          • MUTupdateMetafield
          • MUTdeleteMetafield
          • MUTreassignMetafieldsOwner
  • MCP
    • Overview
Dev Portal
LogoLogo
GraphQLAdminMutations

createPubSubWebhook

Example Query
1mutation ExampleMutation($input: CreatePubSubWebhookInput) {
2 createPubSubWebhook(input: $input) {
3 webhook {
4 destination
5 clientId
6 createdAt
7 eventFilters
8 id
9 scope
10 status
11 updatedAt
12 }
13 errors
14 }
15}
Variables
1{
2 "input": {
3 "destination": "example",
4 "eventFilters": [
5 {
6 "dataFilter": {
7 "path": [
8 "example"
9 ],
10 "values": {
11 "stringValues": [
12 "example"
13 ],
14 "doubleValues": [
15 0
16 ],
17 "longValues": [
18 "Long"
19 ]
20 },
21 "delivery": "IN"
22 }
23 }
24 ],
25 "isActive": true,
26 "scope": "example"
27 }
28}
Example response
1{
2 "data": {
3 "createPubSubWebhook": {
4 "webhook": {
5 "destination": "example",
6 "clientId": "example",
7 "createdAt": "DateTime",
8 "eventFilters": [
9 {
10 "path": null,
11 "values": null,
12 "delivery": null
13 }
14 ],
15 "id": "example",
16 "scope": "example",
17 "status": "ACTIVE",
18 "updatedAt": "DateTime"
19 },
20 "errors": [
21 {
22 "message": "example"
23 }
24 ]
25 }
26 }
27}
Creates Google Cloud PubSub webhook.
Was this page helpful?
Previous

createEventBridgeWebhook

Next

updatePubSubWebhook

Built with

Arguments

inputCreatePubSubWebhookInputRequired

Returns

an optional CreatePubSubWebhookResult
errorslist of CreatePubSubWebhookErrors

The list of errors that occurred while creating a Google Pub/Sub webhook.

webhookPubSubWebhook
The webhook object returned as a result of a mutation.