Search.../

onReviewUpdated( )

Developer Preview

Triggered when a review is updated.

Syntax

function wixReviews_onReviewUpdated(event: ReviewUpdated): void

onReviewUpdated Parameters

NAME
TYPE
DESCRIPTION
event
Optional
ReviewUpdated

Returns

This function does not return anything.

Return Type:

void

Was this helpful?

onReviewUpdated example

Copy Code
1
2 export function wixReviews_onReviewUpdated(event) {
3 const eventId = event.metadata.id
4 const entityId = event.entity._id;
5 }
6
7