Bulk update product reviews with a new endpoint

What's new

Ecwid API allows you to manage product reviews in the store. With a new API call, you can:

  • Find specific reviews and update their status.

  • Mass delete unwanted reviews from the store.

Changes in API

New API endpoint: Bulk update/delete product reviews

Here is a request example that publishes all currently unpublished reviews with 4 or 5 ratings:

PUT /api/v3/STOREID/reviews/mass_update HTTP/1.1
Host: app.ecwid.com
Content-Type: application/json
Authorization: Bearer secret_token

{
    "selectMode": "ALL_FILTERED",
    "delete": false,
    "newStatus": "published",
    "currentFilters": {
        "rating": [4, 5],
        "status": "moderated"
    }
}

where:

  • STOREID - your Ecwid store ID.

  • secret_token - access token of your application.

Bulk update/delete product reviews

Last updated

Was this helpful?