Anchor to serverPixelCreateserver
serverPixelCreate
mutation
Requires 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.
Anchor to ServerPixelCreatePayload returnsServerPixelCreatePayload returns
- Anchor to serverPixelserver•
Pixel The new server pixel.
- Anchor to userErrorsuser•
Errors [ErrorsServer non-nullPixel User Error!]! The list of errors that occurred from executing the mutation.
Was this section helpful?
Mutation Reference
1mutation serverPixelCreate {2 serverPixelCreate {3 serverPixel {4 # ServerPixel fields5 }6 userErrors {7 field8 message9 }10 }11}
Input
1{}
{}