Authorization
The review
id is read from the request body, not the URL. Provide the id of the review
you want to update in the JSON body.Request Body
Media attachments to add (
id, type of image/video, multipleFileId). Maximum 10 entries.Media attachments to remove (
id, type of image/video, multipleFileId). Maximum 10
entries.Response
Successful ResponseMain Structure (Root)
Status message that describes the status code.
"success" on success, "failed" when the
request body fails validation.The updated review record. When
messages is "failed", this holds the validation detail
instead.data Structure (Object)
Errors
Returned with
messages set to "failed" and data holding the validation detail when the
request body is invalid.Returned with
messages set to "Transaksi tidak ditemukan" when no paid transaction matches the
customer and product, or "Review tidak ditemukan" when the review does not exist.