Skip to main content
PUT
/
user
/
reviews
/
{id}
Update review
curl --request PUT \
  --url https://api.managem.co.uk/user/reviews/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "rating": 3,
  "content": "<string>"
}
'
{
  "id": "<string>",
  "rating": 123,
  "revisions": 123,
  "source": {
    "id": "<string>",
    "type": "ORDER"
  },
  "reviewedUser": {
    "id": "<string>",
    "username": "<string>",
    "reviews": 123,
    "rating": 123,
    "score": 123,
    "sales": 123,
    "purchases": 123,
    "joined": "2023-11-07T05:31:56Z",
    "avatar": "<string>",
    "cover": "<string>",
    "profile": "<string>"
  },
  "content": "<string>",
  "createdAt": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Review ID

Body

application/json

Input for updating a review

rating
integer
required

Rating between 1 and 5

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

Optional textual feedback

Response

Review

Review authored by the user

id
string
required

Unique identifier for the review

rating
integer
required

Rating given in the review

revisions
integer
required

Number of times the review has been revised

source
object
required

Source associated with the review

reviewedUser
object
required

User that the review is about

content
string

Optional textual feedback

createdAt
string | null

Timestamp when the review was created