Skip to main content
Anchor to CommentApproveUserError

CommentApproveUserError

object

An error that occurs during the execution of CommentApprove.

•CommentApproveUserErrorCode

The error code.

•[String!]

The path to the input field that caused the error.

•String!
non-null

The error message.


Was this section helpful?

•mutation

Approves a pending comment, making it visible to store visitors on the associated blog article.

For example, when a customer submits a question about a product in a blog post, merchants can approve the comment to make it publicly visible.

Use the commentApprove mutation to:

  • Publish pending comments after review
  • Enable customer discussions on blog articles
  • Maintain quality control over comments

Once approved, the comment becomes visible to all store visitors.

Arguments

•ID!
required

The ID of the comment to be approved.



Was this section helpful?


Was this section helpful?