> ## 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 Stock Operations

> Every stock movement.

The movement ledger: supplies, waste, transfers, production and the deductions receipts cause. `before_quantity`/`after_quantity` bracket each movement.

## HTTP Request

```http theme={null}
GET https://integrations.clopos.com/open-api/v2/stock-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 | `stock-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/stock-operations" \
    -H "x-token: oauth_example_token"
  ```

  ```javascript javascript theme={null}
  const response = await fetch('https://integrations.clopos.com/open-api/v2/stock-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/stock-operations",
      headers={"x-token": "oauth_example_token"},
  )
  data = response.json()
  ```
</CodeGroup>

## Notes

* Rows caused by a receipt carry `receipt_id` and `receipt_product_id`; rows caused by an inventory document carry `operation_id`.
