Skip to main content
Anchor to CommentDeletePayload

CommentDeletePayload

payload

Return type for commentDelete mutation.

•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?

Anchor to Mutations with this payloadMutations with this payload

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

Arguments

•ID!
required

The ID of the comment to be deleted.



Was this section helpful?