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
1mutation webPixelDelete($id: ID!) {2 webPixelDelete(id: $id) {3 deletedWebPixelId4 userErrors {5 field6 message7 }8 }9}
Input
1{2 "id": "gid://shopify/<objectName>/10079785100"3}
{
"id": "gid://shopify/<objectName>/10079785100"
}