POST:product_reviews.json
Commerce APIPOST:product_reviews.json

POST:product_reviews.json

Description

Create one or multiple product reviews.

Permission bit: "product_reviews.create"

Topic: Product Reviews

Query Parameters

shop_id: String, required

Unique shop identifier. See also: Unique Identifiers

Example: ?shop_id=sh_EQzGqWoY

Request Body

Array of ProductReviewCreate

[
  {
    "customer_id": "cu_EQzGqWoY",
    "flag_ignore": false,
    "image_file_ids": [
      ""
    ],
    "product_id": "pd_EQzGqWoY",
    "recommended": "not_voted",
    "scores": [
      {
        "review_dimension_id": "rd_EQzGqWoY",
        "score": 9
      }
    ],
    "status": "approved",
    "survey_answers": [
      {
        "answer": "",
        "answer_index": 5,
        "survey_question_id": "sq_EQzGqWoY"
      }
    ],
    "text": "Great product!",
    "title": "Amazing!"
  }
]

Response Body

Array of ProductReview

Response Body Type

Loading module