> ## Documentation Index
> Fetch the complete documentation index at: https://docs.socialsell.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Reabrir negócio

> Reabre um negócio que estava ganho ou perdido.

## Endpoint

```
POST /v1/deals/:id/reopen
```

**Escopo necessário:** `write:deals`

## Comportamento

* Define `status` como `open`
* Limpa `closed_date`
* Retorna erro `422` se o negócio já está aberto

## Exemplo de requisição

```bash theme={null}
curl -X POST https://api.socialsell.ai/v1/deals/664c1d2e3f4a5b6789012347/reopen \
  -H "Authorization: Bearer sk_live_..."
```

## Exemplo de resposta

```json theme={null}
{
  "data": {
    "id": "664c1d2e3f4a5b6789012347",
    "title": "Proposta Enterprise ACME",
    "status": "open",
    "closed_date": null,
    "updated_at": "2026-06-10T17:00:00.000Z"
  }
}
```

## Erros

| Código         | Status | Descrição              |
| -------------- | ------ | ---------------------- |
| `NOT_FOUND`    | `404`  | Negócio não encontrado |
| `ALREADY_OPEN` | `422`  | Negócio já está aberto |
