Skip to main content
PATCH
Available in🇮🇳 India
Use this endpoint to moderate a review by changing its published status. The request body determines the behaviour:
Watch Out!published and hidden are the only writable statuses, and content fields are never writable over this API. A review already in the target status returns 200 unchanged and fires nothing. A transition not listed above, or any other body, returns 400.

Path Parameters

string
required
Unique identifier of the review to be moderated. The prefix is ordrev_.

Request Parameters

string
required
The target moderation state. Possible values:
  • published: Approve or re-publish the review, from awaiting_approval or hidden.
  • hidden: Hide the review, from awaiting_approval or published.

Response Parameters

See the Review entity for the full list of response parameters.

Errors

Code: 401The API credentials passed in the API call differ from the ones generated on the Dashboard.Solution: The API keys must be active and entered correctly with no whitespace before or after the keys.
Code: 400The published_status field was set to a value other than published or hidden, or a content field was sent in the body.Solution: Pass only published_status with a value of published or hidden. Review content is never writable over this API.
Code: 404The review id does not exist or does not belong to the requestor.Solution: Ensure you use a valid review id that belongs to the requestor.
Last modified on November 28, 2026