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.

Required access
No credentialOptional: publishable keySite access
POST/reviews
Base URLhttps://api.lynkow.com/storefront/{siteId}

Request body
required

  • authorName
    string
    required

    Required. Display name of the author. 2-100 characters

  • content
    string
    required

    Required. Text content. 10-5000 characters

  • rating
    integer
    required

    Required

  • _hp
    string

    Spam-trap field that must remain empty when the site uses honeypot protection.

  • _ts
    integer

    Form-load Unix timestamp in milliseconds when the site uses honeypot protection.

  • authorCity
    string

    Author city. Max 100 characters

  • authorCompany
    string

    Author company name. Max 100 characters

  • authorEmail
    string

    Author email address. Valid email address

  • authorPhotoUrl
    string

    Author photo URL. Valid URL

  • authorPosition
    string

    Author job title. Max 100 characters

  • customFields
    object

    Free-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

    • locale
      string

      BCP 47 locale code (e.g. "en", "fr")

    • productId
      union

      The `prod_` id or slug of a published product to link the review to. Any other value returns 422.

    • productName
      string

      Associated product name. Max 200 characters

    • productSku
      string

      Associated product SKU. Max 100 characters

    • recaptchaToken
      string

      Verification token, required when the site uses CAPTCHA. A v3 token needs this operation's action.

    • title
      string

      Display title. Max 200 characters

    Feedback

    Was this page helpful?