Requires 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.
A globally-unique ID.
The current state of this server pixel.
Address of the EventBridge or PubSub endpoint.
The server pixel configured by the app.
Mutations
Updates the server pixel to connect to an EventBridge endpoint. Running this mutation deletes any previous subscriptions for the server pixel.
Updates the server pixel to connect to a Google PubSub endpoint. Running this mutation deletes any previous subscriptions for the server pixel.
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.