updateComment( )


Updates a comment.

Each time the comment is updated, revision increments by 1. The current revision must be passed when updating the comment. This ensures you're working with the latest comment and prevents unintended overwrites.

Authentication

This function requires elevated permissions and runs only on the backend and on dashboard pages.

Permissions
Manage Comments
Learn more about app permissions.
Method Declaration
Copy
Method Parameters
_idstringRequired

Comment ID.


commentUpdateCommentRequired

optionsUpdateCommentOptions
Returns
Return Type:Promise<Comment>
Errors
428Failed Precondition

There is 1 error with this status code:

See the entire list and learn more about Wix errors.

Did this help?