Skip to main content
Anchor to ErrorsServerPixelUserError

ErrorsServerPixelUserError

object

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

An error that occurs during the execution of a server pixel mutation.

•ErrorsServerPixelUserErrorCode

The error code.

•[String!]

The path to the input field that caused the error.

•String!non-null

The error message.


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.

•mutation

Deletes the Server Pixel associated with the current app & shop.

Anchor to deletedServerPixelIddeletedServerPixelId
•ID

The ID of the server pixel that was deleted, if one was deleted.

•[ErrorsServerPixelUserError!]!non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?


Was this section helpful?