# Submit a deal to several lenders at once

Submit one deal to several lenders in one call: each lender is routed the way a single send is (a share to a linked Specter workspace, the package by email to an address), with a line per lender saying prepared or refused and why. Use it for "send this deal to these lenders".

Access class: `workspace`.

## Endpoint

`POST /v1/submissions/bulk`

## Request body

Content type: `application/json`.

```json
{
  "body": {
    "lenderIds": [
      "string"
    ],
    "merchantKey": "string",
    "merchantState": "string",
    "note": "string",
    "rowId": ""
  },
  "params": {},
  "query": {}
}
```

## Responses

### 201

the action's answer

Content type: `application/json`.

```json
{
  "data": {
    "failed": 1,
    "requested": 1,
    "results": [
      {
        "channel": "string",
        "error": "string",
        "lenderId": "",
        "ok": "string",
        "share": "string"
      }
    ],
    "sent": 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"
}
```
