# Move a deal's status

Move one deal to another status. The STAGE is derived from that status's band and written, never taken from the caller; the stage-entry gate is checked on a crossing and may be skipped with force. Send `cells` to fill what the gate needs in the same transaction, and `reason` to say why - a terminal status asks for one. For a deal that is actually over, use the close route instead: it records the outcome, the reason and the follow-up task with the move.

Access class: `def:read`.

## Endpoint

`POST /v1/definitions/{key}/rows/{rowId}/transition`

## Parameters

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

## Request body

Content type: `application/json`.

```json
{
  "body": {
    "acceptedAmount": 1.5,
    "acceptedByName": "string",
    "action": "string",
    "cells": {},
    "counterAmount": 1.5,
    "counterFactorRate": 1.5,
    "counterNotes": "string",
    "counterTermDays": 1,
    "force": true,
    "notes": "string",
    "reason": "string",
    "stage": "string",
    "status": "string"
  },
  "params": {
    ":key": "string",
    ":rowId": ""
  },
  "query": {}
}
```

## Responses

### 201

the action's answer

Content type: `application/json`.

```json
{
  "data": {
    "archived_at": "string",
    "assignees": {},
    "cells": {},
    "createdBy": "string",
    "display": {},
    "externalId": "",
    "groupId": "",
    "id": "",
    "position": 1,
    "source": "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"
}
```
