Skip to main content
mutation

Requires Any of write_content, write_online_store_pages access scopes.

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 commentDelete 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.


Was this section helpful?

Anchor to CommentDeletePayload returnsCommentDeletePayload returns

ID

The ID of the comment that was deleted.

[CommentDeleteUserError!]!
non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?