Skip to main content
Anchor to ErrorsWebPixelUserError

ErrorsWebPixelUserError

object

Requires read_pixels access scope.

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

•ErrorsWebPixelUserErrorCode

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

Activate a web pixel extension by creating a web pixel record on the store where you installed your app.

When you run the webPixelCreate mutation, Shopify validates it against the settings definition in shopify.extension.toml. If the settings input field doesn't match the schema that you defined, then the mutation fails. Learn how to define web pixel settings.

Arguments

•WebPixelInput!required

The web pixel settings in JSON format.


Fields

•[ErrorsWebPixelUserError!]!non-null

The list of errors that occurred from executing the mutation.

•WebPixel

The created web pixel settings.

•mutation

Deletes the web pixel shop settings.

Arguments

•ID!required

The ID of the web pixel to delete.


Fields

•ID

The ID of the web pixel settings that was deleted.

•[ErrorsWebPixelUserError!]!non-null

The list of errors that occurred from executing the mutation.

•mutation

Activate a web pixel extension by updating a web pixel record on the store where you installed your app.

When you run the webPixelUpdate mutation, Shopify validates it against the settings definition in shopify.extension.toml. If the settings input field doesn't match the schema that you defined, then the mutation fails. Learn how to define web pixel settings.

Arguments

•ID!required

The ID of the web pixel to update.

•WebPixelInput!required

The web pixel settings in JSON format.


Fields

•[ErrorsWebPixelUserError!]!non-null

The list of errors that occurred from executing the mutation.

•WebPixel

The updated web pixel settings.


Was this section helpful?


Was this section helpful?