Skip to main content
Log inSign up
object

Requires read_pixels access scope. Also: The app must have the read_server_pixels access scope.

A server pixel stores configuration for streaming customer interactions to an EventBridge or PubSub endpoint.

ID!non-null

A globally-unique ID.

The current state of this server pixel.

Anchor to webhookEndpointAddresswebhookEndpointAddress

Address of the EventBridge or PubSub endpoint.


Was this section helpful?

query

The server pixel configured by the app.


Was this section helpful?

mutation

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

mutation

Updates the server pixel to connect to a Google PubSub endpoint. Running this mutation deletes any previous subscriptions for the server pixel.

mutation

Creates a new unconfigured server pixel. A single server pixel can exist for an app and shop combination. If you call this mutation when a server pixel already exists, then an error will return.


Was this section helpful?

interface

Was this section helpful?