Skip to main content
Anchor to WebPixelUpdatePayload

WebPixelUpdatePayload

payload

Return type for webPixelUpdate mutation.

•[ErrorsWebPixelUserError!]!
non-null

The list of errors that occurred from executing the mutation.

Show fields
•WebPixel

The updated web pixel settings.

Show fields

Was this section helpful?

Anchor to Mutations with this payloadMutations with this payload

•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.

Show payload

Arguments

•ID!
required

The ID of the web pixel to update.

•WebPixelInput!
required

The web pixel settings in JSON format.

Show input fields


Was this section helpful?