Skip to main content
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.

ServerPixelStatus

The current state of this server pixel.

Anchor to webhookEndpointAddresswebhookEndpointAddress
String

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.

Arguments

ARN!required

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


Fields

ServerPixel

The server pixel as configured by the mutation.

[ErrorsServerPixelUserError!]!non-null

The list of errors that occurred from executing the mutation.

mutation

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

Arguments

String!required

The Google PubSub project ID.

String!required

The Google PubSub topic ID.


Fields

ServerPixel

The server pixel as configured by the mutation.

[ErrorsServerPixelUserError!]!non-null

The list of errors that occurred from executing the mutation.

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.

ServerPixel

The new server pixel.

[ErrorsServerPixelUserError!]!non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?

interface

Was this section helpful?