---
title: "v2PatchRecommendations | TypeScript SDK | AEO API"
description: "Change the status of an item on the recommendations board. Include the item ID and expected revision in the edits array."
url: "https://aeoapi.dev/docs/sdks/typescript/v2PatchRecommendations"
canonical: "https://aeoapi.dev/docs/sdks/typescript/v2PatchRecommendations"
last_updated: "2026-11-30"
---

# v2PatchRecommendations

Change the status of an item on the recommendations board. Include the item ID and expected revision in the edits array.

See the REST reference for [`PATCH /v2/recommendations`](https://aeoapi.dev/docs/api-reference#patch-v2-recommendations).

## Signature

```
v2PatchRecommendations(
  body: Record<string, unknown>,
  options?: {
    signal?: AbortSignal;
    idempotencyKey?: string;
  },
): Promise<ApiResponse<unknown>>
```

## Parameters

**`body`**

JSON object for this action. The example includes the fields for board.

**`options`**

Pass the named options in the signature. The selected action or view determines which fields are required.

**`options.signal`**

Optional AbortSignal to cancel the HTTP request.

## Return value

Promise\<ApiResponse\<unknown\>\>. The board update returns a JSON object in body. Read the board view again to see the item under its new status.

## Errors

- The SDK throws AeoApiError if the API returns an error. Inspect status, code, fieldErrors and requestId.
- AeoTransportError means the request failed to connect or the client could not finish reading a successful response. Invalid JSON in a successful response throws SyntaxError. If you abort the request, the SDK throws the reason from the AbortSignal.
- For HTTP 422, check fieldErrors for the input field and validation message.

## TypeScript example

```
import { AeoClient } from "@aeoapi/aeo-sdk";

const apiKey = process.env.AEO_API_KEY;
if (!apiKey) throw new Error("Set AEO_API_KEY on your server.");
const client = new AeoClient(apiKey, { baseUrl: "https://api.aeoapi.dev" });

// Substitute your own record IDs and values.
const body = {
  "brand_id": "00000000-0000-4000-8000-000000000001",
  "edits": [
    {
      "expected_revision": 0,
      "item_id": "00000000-0000-4000-8000-000000000001",
      "status": "in_progress"
    }
  ],
  "section": "board"
};
const response = await client.v2PatchRecommendations(body);
console.log(response.status, response.body);
```

## Requests by feature

### Recommendations and visibility analyst

- [Update a board item](https://aeoapi.dev/docs/features/recommendations-and-visibility-analyst/patch-recommendations-board)
- [Preview a recommended article](https://aeoapi.dev/docs/features/recommendations-and-visibility-analyst/patch-recommendations-act-editorial-preview)
- [Start an optimization](https://aeoapi.dev/docs/features/recommendations-and-visibility-analyst/patch-recommendations-act-optimization)
- [Decide an optimization](https://aeoapi.dev/docs/features/recommendations-and-visibility-analyst/patch-recommendations-decide-optimization)
- [Propose a follow-up action](https://aeoapi.dev/docs/features/recommendations-and-visibility-analyst/patch-recommendations-act-analyst-action)
- [Approve a follow-up action](https://aeoapi.dev/docs/features/recommendations-and-visibility-analyst/patch-recommendations-decide-analyst-action)

See [TypeScript client setup](https://aeoapi.dev/docs/sdks/typescript) for authentication, timeouts and retry settings.
