# 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](https://app.gitbook.com/s/G9n5VxMY9T0Ob3D56PSD/rest-api/products/product-reviews/bulk-update-delete-product-reviews "mention")

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

```http
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.

#### Documentation links

{% content-ref url="<https://app.gitbook.com/s/G9n5VxMY9T0Ob3D56PSD/rest-api/products/product-reviews/bulk-update-delete-product-reviews>" %}
[Bulk update/delete product reviews](https://app.gitbook.com/s/G9n5VxMY9T0Ob3D56PSD/rest-api/products/product-reviews/bulk-update-delete-product-reviews)
{% endcontent-ref %}
