Skip to main content
mutation

Requires Any of write_content, write_online_store_pages access scopes.

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.

ID!
required

The ID of the comment to be approved.


Was this section helpful?

Anchor to CommentApprovePayload returnsCommentApprovePayload returns

Comment

The comment that was approved.

[CommentApproveUserError!]!
non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?