<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [RecommendationsActions](./x-components.recommendationsactions.md) &gt; [fetchAndSaveRecommendations](./x-components.recommendationsactions.fetchandsaverecommendations.md)

## RecommendationsActions.fetchAndSaveRecommendations() method

Requests and saves to the state a list of recommendations.

**Signature:**

```typescript
fetchAndSaveRecommendations(request: RecommendationsRequest | null): void;
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  request | RecommendationsRequest \| null |  |

**Returns:**

void

