# Sync one merchant bank

Import available transaction updates for this merchant bank only. Use trigger.rowId and trigger.itemId in an enrolled_merchant_banks monthly schedule. A hasMore response is incomplete: do not treat it as a complete review.

Access class: `def:read`.

## Endpoint

`POST /v1/definitions/{key}/rows/{rowId}/plaid/items/{itemId}/sync`

## Parameters

| Name | In | Type | Required |
| --- | --- | --- | --- |
| key | path | string | Yes |
| rowId | path | string | Yes |
| itemId | path | string | Yes |

## Request body

Content type: `application/json`.

```json
{}
```

## Responses

### 201

the action's answer

Content type: `application/json`.

```json
{
  "data": {
    "added": 1,
    "hasMore": true,
    "modified": 1,
    "months": 1,
    "removed": 1
  }
}
```

### default

a refusal: `{"error": "<what a person needs to read>"}`. 401 no credential, 402 the plan does not include this, 403 the seat does not, 404 the thing does not exist or is not yours to see.

Content type: `application/json`.

```json
{
  "error": "string"
}
```
