> Portal Navigation: > > - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version. > - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages). > - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`). > - Top-level index of all portals: https://dev.wix.com/docs/llms.txt > - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt # Method name: setReply(reviewId: string, message: string) # Method package: wixReviewsV2 # Method menu location: wixReviewsV2 --> reviews --> setReply # Method Link: https://dev.wix.com/docs/velo/apis/wix-reviews-v2/reviews/set-reply.md # Method Description: Set reply on a review # Method Code Examples: *** Note: do not assume any prop names or enum values other than the ones in the example. ## setReply example for dashboard page code ```javascript import { reviews } from 'wix-reviews.v2'; async function setReply(reviewId, message) { try { const result = await reviews.setReply(reviewId, message); return result; } catch (error) { console.error(error); // Handle the error } } ``` ## setReply example for exporting from backend code ```javascript import { reviews } from 'wix-reviews.v2'; import { webMethod, Permissions } from 'wix-web-module'; import { elevate } from 'wix-auth'; const elevatedSetReply = elevate(reviews.setReply); export const setReply = webMethod( Permissions.Anyone, async (reviewId, message) => { try { const result = await elevatedSetReply(reviewId, message); return result; } catch (error) { console.error(error); // Handle the error } } ); ``` ---