Anchor to CommentApproveUserErrorComment
objectComment Approve User Error
An error that occurs during the execution of .
Anchor to FieldsFields
- code (CommentApproveUserErrorCode)
- field ([String!])
- message (String!)
- Anchor to codecode•Comment
Approve User Error Code The error code.
- Anchor to fieldfield•[String!]
The path to the input field that caused the error.
- Anchor to messagemessage•String!non-null
The error message.
Was this section helpful?
Anchor to MutationsMutations
- commentApprove (CommentApprovePayload)
- •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
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.
Arguments
Was this section helpful?