Skip to main content
PATCH
cURL

Authorizations

Authorization
string
header
required

An access token from the OAuth flow (eo_at_...). It lasts one hour; refresh it with the refresh token. See Authentication.

Path Parameters

id
string<uuid>
required

The review's ID.

Body

application/json

Every field is optional; only the fields sent change. No field takes null, and product_id cannot be sent.

rating
integer

A whole number of stars.

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

One line, trimmed, no invisible characters and no <.

Required string length: 1 - 255
comment
string

Trimmed. Line breaks and tabs are kept; < and invisible characters are refused.

Maximum string length: 5000
image
string

An https URL with a host, no user name or password, no # fragment, and none of ", ', <, >, `, \ or spaces. "" for none.

Maximum string length: 2048
is_accepted
boolean

Response

The review.

review
object
required