Authorization
Example:
Authorization | Bearer Paste-Your-API-Key-HereThe 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
ID of the review to update. 3–100 characters.
ID of the payment link / product the review belongs to. 3–100 characters.
Email of the customer who owns the review, used to locate the related paid transaction.
Updated rating value. Integer between 1 and 5.
Updated review message. 1–2000 characters.
ID of the customer who owns the review. 3–100 characters.
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 code returned by the API.
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)
Unique review ID.
Updated rating value.
Updated review message.
Payment link ID associated with the review.
Unique customer identifier associated with the review.
Unique user ID associated with the payment link owner.
Current review status.
Unix timestamp in milliseconds indicating when the review was created.
Unix timestamp in milliseconds indicating when the review was last updated.
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.Returned with
messages set to the error description when the review cannot be updated.