Anchor to commentSpamcomment
mutationcomment Spam
Requires Any of , access scopes.
Marks a comment as spam, removing it from public view. This mutation enables merchants to quickly handle unwanted promotional content, malicious links, or other spam that appears in blog discussions.
For example, when a comment contains suspicious links to unrelated products or services, merchants can mark it as spam to immediately hide it from customers.
Use the mutation to:
- Hide promotional or malicious comments from public view
- Protect customers from potentially harmful links
- Maintain professional discussion quality on blog articles
Spam-marked comments can be reviewed later and potentially restored using the mutation if they were incorrectly classified.
Anchor to Arguments
Arguments
- •ID!required
The ID of the comment to be marked as spam.
Was this section helpful?
- Anchor to commentcomment•Comment
The comment that was marked as spam.
- Anchor to userErrorsuser•[Comment
Errors Spam User Error!]! non-null The list of errors that occurred from executing the mutation.
Was this section helpful?