---
title: eventBridgeServerPixelUpdate - GraphQL Admin
description: |-
  Updates the server pixel to connect to an EventBridge endpoint.
  Running this mutation deletes any previous subscriptions for the server pixel.
api_version: 2026-10
source_url:
  html: https://shopify.dev/docs/api/admin-graphql/latest/mutations/eventbridgeserverpixelupdate
  md: https://shopify.dev/docs/api/admin-graphql/latest/mutations/eventbridgeserverpixelupdate.md
---

# eventBridgeServerPixelUpdate

mutation

Requires `write_pixels` access scope. Also: The app must have the read\_customer\_events and write\_server\_pixels access scopes.

Updates the server pixel to connect to an EventBridge endpoint. Running this mutation deletes any previous subscriptions for the server pixel.

## Arguments

* arn

  [ARN!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/ARN)

  required

  The ARN for the EventBridge endpoint to which customer events are to be sent.

***

## EventBridgeServerPixelUpdatePayload returns

* serverPixel

  [ServerPixel](https://shopify.dev/docs/api/admin-graphql/latest/objects/ServerPixel)

  The server pixel as configured by the mutation.

* userErrors

  [\[ErrorsServerPixelUserError!\]!](https://shopify.dev/docs/api/admin-graphql/latest/objects/ErrorsServerPixelUserError)

  non-null

  The list of errors that occurred from executing the mutation.

***

## Examples

* ### eventBridgeServerPixelUpdate reference