Skip to main content
Anchor to CommentApprovePayload

CommentApprovePayload

payload

Return type for commentApprove mutation.

•Comment

The comment that was approved.

Show fields
•[CommentApproveUserError!]!
non-null

The list of errors that occurred from executing the mutation.

Show fields

Was this section helpful?

Anchor to Mutations with this payloadMutations with this payload

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

Show payload

Arguments

•ID!
required

The ID of the comment to be approved.



Was this section helpful?