v1

latestOpenAPI 3.1.02026-07-26620219.6 KB

Publish/Unpublish Reviews

This API allows you to publish or reject one or multiple reviews to the onsite widgets.

post/v2/<store_id>/moderation/reviews

Path parameters

store_idstring required

Store id/app key of the merchant

Request body

review_actionstring required

The action to perform on the reviews. Allowed values: "publish", "unpublish"

review_idsinteger[] required

An array of review IDs to be published or unpublished.

admin_emailstring

The email address of the admin initiating the action. It will be visible in moderation audit log

admin_display_namestring

The display name of the admin initiating the action. It will be visible in moderation audit log

reasonstring

Reason of unpublish review_action. Needed for unpublish review_action

Response

204