Update a market review

PATCH https://api.cryptohopper.com/v1/market/review/{review_id}

Updates one of your own reviews. Fields you leave out are not changed.

OAuth scope: read manage About scopes

In the current code the review field is written to the review title instead of the review text, and rating is stored as sent without the 0 to 5 limit.

Example request

curl -X PATCH "https://api.cryptohopper.com/v1/market/review/REVIEW_ID" \
  -H "access-token: YOUR_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"review_name":"Steady results","review":"Running it on Binance for two months without issues.","rating":4}'

Parameters

Headers

NameTypeRequiredDescription
access-token string Required The OAuth access token of the user.

Path parameters

NameTypeRequiredDescription
review_id string Required ID of your review.

Request body

JSON, model MarketReviewPost

FieldTypeRequiredDescription
review_namestringOptional
reviewstringOptional
ratingnumberOptionalBetween 0 and 5.

Response

Example response (illustrative values)

{
    "data": {
        "review_id": 5501,
        "message": "Review has been updated."
    }
}

Status codes: 200. Errors return JSON with status, error and message. See How the API works for response codes and rate limits.