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

# List Operations

> Inventory documents.

The documents that move stock: supply, waste, transfer, production and inventory checks. `type` says which; see the table below.

## HTTP Request

```http theme={null}
GET https://integrations.clopos.com/open-api/v2/operations
```

<Warning>
  This endpoint requires authentication. Include your JWT in the `x-token` header. See [Authentication](/authentication) for how to obtain a token and [Errors](/errors) for error responses.
</Warning>

## Access

| Requirement      | Value             |
| ---------------- | ----------------- |
| Integrator scope | `operations:read` |
| User ability     | `STOCK_VIEW`      |

The integration user must hold the ability as well as the scope — the scope alone is not enough.

## Request Example

<CodeGroup>
  ```bash curl theme={null}
  curl --location "https://integrations.clopos.com/open-api/v2/operations" \
    -H "x-token: oauth_example_token"
  ```

  ```javascript javascript theme={null}
  const response = await fetch('https://integrations.clopos.com/open-api/v2/operations', {
    headers: { 'x-token': 'oauth_example_token' }
  });
  const data = await response.json();
  ```

  ```python python theme={null}
  import requests

  response = requests.get(
      "https://integrations.clopos.com/open-api/v2/operations",
      headers={"x-token": "oauth_example_token"},
  )
  data = response.json()
  ```
</CodeGroup>

## Operation Types

| `type` | Meaning           |
| ------ | ----------------- |
| `1`    | IN — supply       |
| `3`    | TRANSFER          |
| `4`    | WASTE             |
| `5`    | RETURN            |
| `7`    | MAKE — production |
| `9`    | INVENTORY\_CHECK  |
| `10`   | SUPPLY\_RETURN    |
| `11`   | INITIAL\_STOCK    |

`2` (OUT), `6` (FIXATION) and `8` (MERGE) are deprecated and only appear on historical records.

`status` is `1` (Published) or `2` (Draft).
