> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tailoredd.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Submit review

> Submit a customer review for a product with rating, title, body, and optional verification metadata.

`POST {BASE_URL}/reviews`

## Body parameters

<ParamField body="productId" type="string" required>Product being reviewed.</ParamField>
<ParamField body="merchantId" type="string" required>Your merchant ID.</ParamField>
<ParamField body="rating" type="integer" required>1–5 star rating.</ParamField>
<ParamField body="authorName" type="string" required>Customer display name.</ParamField>
<ParamField body="authorEmail" type="string" required>Customer email.</ParamField>
<ParamField body="title" type="string">Review headline.</ParamField>
<ParamField body="text" type="string">Review body.</ParamField>
<ParamField body="orderId" type="string">Order ID to mark as verified purchase.</ParamField>
<ParamField body="incentiveClaimId" type="string">Incentive claim ID.</ParamField>
<ParamField body="incentiveConsent" type="boolean">FTC disclosure accepted.</ParamField>
<ParamField body="wouldRecommend" type="boolean">Recommendation flag.</ParamField>
<ParamField body="pros" type="string">Free-text pros.</ParamField>
<ParamField body="cons" type="string">Free-text cons.</ParamField>
<ParamField body="attributes" type="object">Custom attribute key/value pairs.</ParamField>

## Example

```json theme={null}
{
  "productId": "SKU-001", "merchantId": "YOUR_MERCHANT_ID",
  "rating": 5, "title": "Best purchase this year",
  "text": "Quality exceeded expectations!",
  "authorName": "James T.", "authorEmail": "james@example.com",
  "orderId": "ORDER-10045", "wouldRecommend": true,
  "pros": "Fast shipping, great quality",
  "attributes": { "fit": "true_to_size", "quality": "excellent" }
}
```


## OpenAPI

````yaml openapi.yaml POST /reviews
openapi: 3.0.0
info:
  title: ReviewFlow API
  description: >-
    ReviewFlow is a fully managed ratings, reviews, and UGC platform by
    Tailoredd. This API covers batch reviews, product reviews, Q&A, media
    management, webhooks, tokens, analytics, incentives, and CSV export
    endpoints.
  version: 2.3.0
servers:
  - url: https://cdn.tailoredd.com/apiV2
    description: Production Gen 2 API front door
security: []
tags:
  - name: Batch Reviews
    description: Fetch rating summaries for multiple products in a single request.
  - name: Webhooks
    description: Receive post-purchase order events to trigger review request flows.
  - name: Tokens
    description: Validate and revoke review request tokens sent to customers.
  - name: CSV Export
    description: Asynchronous export of reviews or questions as CSV files.
  - name: Health
    description: Service availability and version check.
  - name: Cloudinary Media
    description: Upload, retrieve, and delete media assets attached to reviews.
  - name: Reviews & Ratings
    description: Create, read, moderate, and interact with product reviews.
  - name: Featured Reviews
    description: Feature or unfeature reviews for prominent display.
  - name: Questions & Answers
    description: Product Q&A with moderation and merchant answers.
  - name: Admin Dashboard
    description: Admin analytics and dashboard aggregation endpoints.
  - name: Custom Attributes (Growth+/Enterprise)
    description: Manage custom review form attributes like fit, quality, etc.
  - name: Incentive Claims
    description: Track and fulfill review incentive coupon claims.
  - name: Sentiment Analysis
    description: Filter reviews by NLP-derived sentiment labels.
  - name: Google Shopping Feed
    description: Generate and check eligibility for Google product reviews XML feed.
paths:
  /reviews:
    post:
      tags:
        - Reviews & Ratings
      summary: Submit Review
      description: Submit a new review. Can be public (with signature) or authenticated.
      operationId: submitReview
      parameters:
        - name: Authorization
          in: header
          schema:
            type: string
          description: Optional - for authenticated submissions
          example: Bearer your-admin-token
      requestBody:
        content:
          application/json:
            schema:
              type: object
              example:
                productId: product-123
                merchantId: your-merchant-id
                rating: 5
                title: Great product!
                text: I really love this product, highly recommended!
                authorName: John Doe
                authorEmail: john@example.com
                orderId: order-sample-001
                incentiveClaimId: claim-xyz789
                incentiveConsent: true
                wouldRecommend: true
                pros: Fast shipping, great quality
                cons: Packaging could be better
                attributes:
                  fit: true_to_size
                  quality: excellent
                  delivery: fast
                  packaging: good
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SuccessResponse'
        '400':
          description: Bad Request / Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    SuccessResponse:
      type: object
      properties:
        success:
          type: boolean
          example: true
        data:
          type: object
      required:
        - success
    ErrorResponse:
      type: object
      properties:
        success:
          type: boolean
          example: false
        error:
          type: object
          properties:
            code:
              type: string
              example: VALIDATION_ERROR
            message:
              type: string
              example: Rating must be between 1 and 5
      required:
        - success
        - error

````