Skip to main content
POST
/
api
/
v1
/
app
/
reviews
Create a review
curl --request POST \
  --url https://{subdomain}.easyflows.io/api/v1/app/reviews \
  --header 'Content-Type: application/json' \
  --data '
{
  "email": "<string>",
  "name": "<string>",
  "body": "<string>",
  "rating": 3,
  "title": "<string>",
  "product_ref": "<string>",
  "order_ref": "<string>"
}
'
{
  "data": {
    "id": "<string>",
    "rating": 3,
    "body": "<string>",
    "customer": true,
    "approved": true,
    "member": {
      "id": "<string>",
      "name": "<string>"
    },
    "created_at": "<string>",
    "updated_at": "<string>",
    "title": "<string>",
    "product": {
      "id": "<string>",
      "ref": "<string>",
      "platform": "<string>",
      "name": "<string>",
      "image": "<string>",
      "description": "<string>"
    }
  }
}

Body

application/json
email
string
required

The email of the reviewer.

name
string
required

The name of the reviewer.

Maximum string length: 60
body
string
required

The content of the review.

Required string length: 10 - 1000
rating
integer

The rating given by the reviewer.

Required range: 1 <= x <= 5
title
string

The title of the review.

Maximum string length: 100
product_ref
string

The reference of the product for which to create a review.

order_ref
string

The reference of the order for which to create a review.

Response

Success

data
object
required

The main data returned by the API endpoint.