Anchor to section titled 'undefined'

serverPixelCreate
mutation

Requires write_pixels access scope. Also: The app must have the read_customer_events access scope, write_server_pixels access scope, and user access permission.

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.


The new server pixel.

The list of errors that occurred from executing the mutation.


Was this section helpful?
Hide code
Mutation reference
Copy
mutation serverPixelCreate {
  serverPixelCreate {
    serverPixel {
      # ServerPixel fields
    }
    userErrors {
      field
      message
    }
  }
}
Hide code
Input
Copy
{}