Anchor to webPixelDeleteweb
webPixelDelete
mutation
Requires access scope. Also: The app requires user access permission.
Deletes the web pixel shop settings.
Anchor to Arguments
Arguments
- •ID!required
The ID of the web pixel to delete.
Was this section helpful?
Anchor to WebPixelDeletePayload returnsWebPixelDeletePayload returns
- Anchor to deletedWebPixelIddeleted•
Web Pixel Id The ID of the web pixel settings that was deleted.
- Anchor to userErrorsuser•
Errors [ErrorsWeb non-nullPixel User Error!]! The list of errors that occurred from executing the mutation.
Was this section helpful?
Mutation Reference
mutation webPixelDelete($id: ID!) {
webPixelDelete(id: $id) {
deletedWebPixelId
userErrors {
field
message
}
}
}
Input
{
"id": "gid://shopify/<objectName>/10079785100"
}
{
"id": "gid://shopify/<objectName>/10079785100"
}