# List Reviews

> List reviews of any store by store domain/url.

As a partner you have access to list any reviews that a Fera store is using.

Normally this information is available via our public api (Fera.js) but that requires you to know the store's public key.

This API returns data in the same format as the public API (Fera.js) but only requires the store domain/url.

## List all Reviews

This list of reviews includes all reviews for all products, plus store (business) reviews that aren't specific to a product.

<span id="get-stores-products-reviews"></span>

> **Note:** [List All Product Reviews](https://developers.fera.ai/reference/partners/tag/products/GET/stores/products/reviews)
>
> `GET https://api.fera.ai/v3/partners/stores/products/reviews`. Response examples and "Test Request" are in the Partners API reference.

Returns `data` (a list of Review) and `meta` (paging details). Authenticate with your partner API key in the `Api-Key` header (or the `api_key` parameter).

| Parameter | In | Required | Description |
| --- | --- | --- | --- |
| `domain` | query | yes | Domain, URL, public key or Fera ID of the shop/store. Note: If providing domain then `www.` is stripped and case is insensitive. Use `*.myshopify.com` domain for Shopify stores. |
| `page` | query | no | Current page number, if pagination used. |
| `page_size` | query | no | Number of items per page. |
| `limit` | query | no | Maximum number of items retrieved. |
| `offset` | query | no | Starting position of items request query. |
| `product.id` | query | no | Filter by Fera product ID or external product ID. |
| `product.ids` | query | no | Filter by multiple Fera product IDs or external product IDs. Comma-separated list or array of fields accepted. |
| `exclude_product_id` | query | no | Exclude a Fera product ID or external product ID. Product groups are also excluded. |
| `customer_id` | query | no | Filter by Fera customer ID or external customer ID. |
| `subject` | query | no | Filter by what the resource is describing; A specific product, the entire store (ie overall experience) or both (all). Default: both. |
| `verified` | query | no | Only show content submitted by verified sources (or unverified sources). |
| `search` | query | no | Search reviews by keyword. Each space-delimited word is matched independently (AND logic). |
| `rating` | query | no | Search for customer reviews by rating. |
| `only_with_content` | query | no | Only show reviews with any textual content (summary or body). |
| `sort_by` | query | no | Sort (order) the response results by the given attribute. Add `:desc` to sort in descending order, or `:asc` to sort in ascending order. For example: created_at:desc would get you created_at in descending order. |

### Code Examples

```shell CURL
curl --request GET \
     --url https://api.fera.ai/v3/partners/stores/products/reviews?domain=example.com \
     --header 'Api-Key: YOUR_PARTNER_API_KEY'
```

## List a Specific Product's Reviews

<span id="get-stores-products-id-reviews"></span>

> **Note:** [List Product Reviews](https://developers.fera.ai/reference/partners/tag/products/GET/stores/products/{id}/reviews)
>
> `GET https://api.fera.ai/v3/partners/stores/products/{id}/reviews`. Response examples and "Test Request" are in the Partners API reference.

Returns `data` (a list of ReviewWithoutNesting) and `meta` (paging details). Authenticate with your partner API key in the `Api-Key` header (or the `api_key` parameter).

| Parameter | In | Required | Description |
| --- | --- | --- | --- |
| `domain` | query | yes | Domain, URL, public key or Fera ID of the shop/store. Note: If providing domain then `www.` is stripped and case is insensitive. Use `*.myshopify.com` domain for Shopify stores. |
| `id` | path | yes | Fera  or external ID of the product |
| `page` | query | no | Current page number, if pagination used. |
| `page_size` | query | no | Number of items per page. |
| `limit` | query | no | Maximum number of items retrieved. |
| `offset` | query | no | Starting position of items request query. |
| `product.id` | query | no | Filter by Fera product ID or external product ID. |
| `product.ids` | query | no | Filter by multiple Fera product IDs or external product IDs. Comma-separated list or array of fields accepted. |
| `exclude_product_id` | query | no | Exclude a Fera product ID or external product ID. Product groups are also excluded. |
| `customer_id` | query | no | Filter by Fera customer ID or external customer ID. |
| `subject` | query | no | Filter by what the resource is describing; A specific product, the entire store (ie overall experience) or both (all). Default: both. |
| `verified` | query | no | Only show content submitted by verified sources (or unverified sources). |
| `search` | query | no | Search reviews by keyword. Each space-delimited word is matched independently (AND logic). |
| `rating` | query | no | Search for customer reviews by rating. |
| `only_with_content` | query | no | Only show reviews with any textual content (summary or body). |
| `sort_by` | query | no | Sort (order) the response results by the given attribute. Add `:desc` to sort in descending order, or `:asc` to sort in ascending order. For example: created_at:desc would get you created_at in descending order. |

### Code Examples

```shell CURL
curl --request GET \
     --url https://api.fera.ai/v3/partners/stores/products/123456789/reviews?domain=example.com \
     --header 'Api-Key: YOUR_PARTNER_API_KEY'
```

> **Note:** If the store does not exist in Fera then you will receive a Bad Request response (400 status code).

Source: https://developers.fera.ai/partners/developers/partner-api/list-reviews
