# Name the vendor for one slot

Seats a vendor in this record's slot for one kind. PUT because a slot has ONE occupant: filling a filled slot replaces it rather than adding a second. The vendor must be OF that kind and must not be retired - an attorney cannot fill the notary slot, and a retired vendor takes no new work.

Access class: `def:read`.

## Endpoint

`PUT /v1/definitions/{key}/rows/{rowId}/vendor-slots/{kind}`

## Parameters

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

## Request body

Content type: `application/json`.

```json
{
  "body": {
    "vendorId": ""
  },
  "params": {
    ":key": "string",
    ":kind": "string",
    ":rowId": ""
  },
  "query": {}
}
```

## Responses

### 200

the action's answer

Content type: `application/json`.

```json
{
  "data": {
    "createdAt": "string",
    "filledBy": 1,
    "id": "",
    "kind": "string",
    "updatedAt": "string",
    "vendorId": "",
    "vendorName": "string"
  }
}
```

### 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"
}
```
