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

# sicarv4.sellers.create

> Create SICAR seller (vendedor + historial). Registry write — clave unique. Not a login user.

# `sicarv4.sellers.create`

Create SICAR seller (vendedor + historial). Registry write — clave unique. Not a login user.

|                |            |
| -------------- | ---------- |
| **Adapter**    | `sicarv4`  |
| **Operation**  | `db.query` |
| **SQL policy** | `write`    |

## Parameters

| Name       | Kind   | Required | Notes                                                                                                                                         |
| ---------- | ------ | -------- | --------------------------------------------------------------------------------------------------------------------------------------------- |
| `document` | `json` | Yes      | nombre, clave required. Optional FKs (validated): gvn\_id, pue\_id, vac\_id, rol\_id, tur\_id. Optional: comision, alias, domicilio, email, … |

## Example

```bash theme={"system"}
curl -s -X POST "$API/v1/devices/$DEVICE_ID/functions/sicarv4.sellers.create" \
  -H "Authorization: Bearer $ORQUESTR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"document":{"nombre":"Vendedor","clave":"V01"}}}'
```
