> This page is for Developer.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.bigcommerce.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.bigcommerce.com/_mcp/server.

# updatePubSubWebhook

GraphQL MUTATION

Update a Google Cloud PubSub webhook.

Reference: https://docs.bigcommerce.com/developer/api-reference/graphql/admin/mutations/webhook/update-pub-sub-webhook

## GraphQL Schema

```graphql
mutation ExampleMutation($input: UpdatePubSubWebhookInput!) {
  webhook {
    updatePubSubWebhook(input: $input) {
      webhook {
        destination
        clientId
        createdAt
        eventFilters
        id
        scope
        status
        updatedAt
      }
      errors
    }
  }
}
```

## Variables

```json
{
  "input": {
    "id": "example",
    "data": {
      "destination": "example",
      "eventFilters": [
        {
          "dataFilter": {
            "path": [
              "example"
            ],
            "values": {
              "stringValues": null,
              "doubleValues": null,
              "longValues": null
            },
            "delivery": "IN"
          }
        }
      ],
      "isActive": true,
      "scope": "example"
    }
  }
}
```