POST
/
catalog
/
products
/
{product_id}
/
reviews
curl --request POST \
  --url https://staging.api.commercengine.io/api/v1/{store_id}/storefront/catalog/products/{product_id}/reviews \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form 'user_id=<string>' \
  --form 'order_number=<string>' \
  --form rating=123 \
  --form 'review_text=<string>' \
  --form 'images=[
  "<string>"
]' \
  --form 'videos=[
  "<string>"
]'
{
  "message": "Review submitted successfully.",
  "success": true
}

Authorizations

Authorization
string
header
required

Access token

Path Parameters

product_id
string
required

id of a particular product

Body

multipart/form-data

Create Product Review model

Response

200
application/json
Success response

The response is of type object.