Anchor to CommentDeletePayloadComment
payloadComment Delete Payload
Return type for mutation.
Anchor to FieldsFields
- deletedCommentId (ID)
- userErrors ([CommentDeleteUserError!]!)
- Anchor to deletedCommentIddeleted•ID
Comment Id The ID of the comment that was deleted.
- Anchor to userErrorsuser•[Comment
Errors Delete User Error!]! non-null The list of errors that occurred from executing the mutation.
Was this section helpful?
Anchor to Mutations with this payloadMutations with this payload
- commentDelete (CommentDeletePayload)
- •mutation
Permanently removes a comment from a blog article.
For example, when a comment contains spam links or inappropriate language that violates store policies, merchants can delete it entirely.
Use the
mutation to:- Remove spam or inappropriate comments permanently
- Clean up irrelevant discussions
- Maintain content standards on blog articles
Deletion is permanent and can't be undone.
- •ID!required
The ID of the comment to be deleted.
Arguments
Was this section helpful?