Anchor to commentApprovecomment
mutationcomment Approve
Requires Any of , 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 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.
Anchor to Arguments
Arguments
- •ID!required
The ID of the comment to be approved.
Was this section helpful?
- Anchor to commentcomment•Comment
The comment that was approved.
- Anchor to userErrorsuser•[Comment
Errors Approve User Error!]! non-null The list of errors that occurred from executing the mutation.
Was this section helpful?