# Update of project review Updates the project review. This endpoint is available only when the 'Rating' module is active. Also, the project must have store ratings enabled in the administration settings. Endpoint: PATCH /api/reviews/project/{reviewId} Version: 1.0.0 Security: shoptetAccessToken, shoptetPrivateApiToken ## Path parameters: - `reviewId` (number, required) review ID Example: "1" ## Header parameters: - `Content-Type` (string, required) ## Request fields (application/json): - `data` (object, required) - `data.description` (null,string) Text of the review. Can be null only if 'Comment and name is required' setting is disabled. - `data.fullName` (null,string) Fullname of review's author. Can be null only if 'Comment and name is required' setting is disabled. - `data.visible` (boolean) - `data.reaction` (object) - `data.reaction.reactionFullName` (null,string) Fullname of reaction author. Can be null. - `data.reaction.reactionEmail` (null,string) Email of the reaction author. - `data.reaction.reactionText` (null,string) Text of the reaction. ## Response 200 fields (application/json): - `data` (object, required) - `data.review` (object, required) - `data.review.id` (integer, required) Review id. - `data.review.date` (string,null, required) Review creation date. - `data.review.orderCode` (null,string, required) Order code related to review. Can be null. - `data.review.rating` (number, required) Number from 1 to 5 representing stars of review's rating. - `data.review.description` (null,string, required) Review text. Can be null. - `data.review.fullName` (null,string, required) Fullname of review's author. Can be null. - `data.review.email` (null,string, required) Email of the review author. Can be null. - `data.review.customerGuid` (null,string, required) Customer guid related to review. Can be null. - `data.review.visible` (boolean, required) flag, whether the review is visible - `data.review.ipAddress` (string,null, required) IP address of the client who made the review. Can be null. - `data.review.reaction` (object) - `data.review.reaction.reactionCreated` (string,null, required) Date of creation of reaction. Can be null. - `data.review.reaction.reactionFullName` (null,string, required) Fullname of reaction author. Can be null. - `data.review.reaction.reactionEmail` (null,string, required) Email of the reaction author. - `data.review.reaction.reactionText` (null,string, required) Text of the reaction. - `errors` (array,null, required) - `errors.errorCode` (string, required) Short text error identification - `errors.message` (string, required) Descriptive error message - `errors.instance` (string, required) Identification of the entity referenced ## Response 403 fields (application/json): - `data` (object,null) - `errors` (array,null) - `errors.errorCode` (string, required) Short text error identification - `errors.message` (string, required) Descriptive error message - `errors.instance` (string, required) Identification of the entity referenced ## Response 404 fields (application/json): - `data` (object,null) - `errors` (array,null) - `errors.errorCode` (string, required) Short text error identification - `errors.message` (string, required) Descriptive error message - `errors.instance` (string, required) Identification of the entity referenced