Submit a public review
Submits a review. It enters the moderation queue and appears in `GET /reviews` once approved; the response `status` tells you whether the site approved it at once. Read `GET /reviews/settings` first for the required email and the custom fields. `locale` files the review under a language (default: the site's); a multi-language site returns 400 for a locale it does not enable. An invalid `productId` returns 422. With honeypot on, send an empty `_hp` and `_ts`, the display time in Unix milliseconds. A v3 reCAPTCHA token needs action `review_submit`. Returns 403 `AUTHZ_PERMISSION_DENIED` when submissions are closed, and 400 `VALIDATION_FIELD_REQUIRED` when a required email is missing.
/reviewshttps://api.lynkow.com/storefront/{siteId}Request bodyrequired
authorNamestringrequiredRequired. Display name of the author. 2-100 characters
contentstringrequiredRequired. Text content. 10-5000 characters
ratingintegerrequiredRequired
_hpstringSpam-trap field that must remain empty when the site uses honeypot protection.
_tsintegerForm-load Unix timestamp in milliseconds when the site uses honeypot protection.
authorCitystringAuthor city. Max 100 characters
authorCompanystringAuthor company name. Max 100 characters
authorEmailstringAuthor email address. Valid email address
authorPhotoUrlstringAuthor photo URL. Valid URL
authorPositionstringAuthor job title. Max 100 characters
customFieldsobjectFree-form values. Counting the object itself, at most 3 levels deep; up to 50 keys per object, 50 items per array, 200-character keys and 5000-character strings
localestringBCP 47 locale code (e.g. "en", "fr")
productIdunionThe `prod_` id or slug of a published product to link the review to. Any other value returns 422.
productNamestringAssociated product name. Max 200 characters
productSkustringAssociated product SKU. Max 100 characters
recaptchaTokenstringVerification token, required when the site uses CAPTCHA. A v3 token needs this operation's action.
titlestringDisplay title. Max 200 characters