> ## 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.shifts.create

> Create SICAR shift (turno + historial). Optional for sellers — tur_id is nullable.

# `sicarv4.shifts.create`

Create SICAR shift (turno + historial). Optional for sellers — tur\_id is nullable.

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

## Parameters

| Name       | Kind   | Required | Notes                                                                        |
| ---------- | ------ | -------- | ---------------------------------------------------------------------------- |
| `document` | `json` | Yes      | nombre required; opc. horaEnt/horaSal (default 09:00–18:00), days Mon–Fri on |

## Example

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