---
search:
  tags:
    - Purchases
    - GET
seo:
  description: >-
    Any signed in user. Returns a page of stock movements across every…
    Reference for the GET /api/v1/purchases/movements/all endpoint in the
    PharmaFlow API.
sidebar:
  label: List stock movements
  badge: GET
title: List stock movements
type: openapi-operation
---
Any signed in user. Returns a page of stock movements across every branch, newest first. Filters cover medicine, branch, and type; search matches name, reason, or reference id.

`GET /api/v1/purchases/movements/all`

**Responses**

- `200` — A page of stock movements
- `401` — Not authenticated

Response example, 200:

```json
{
  "total": -9007199254740991,
  "page": -9007199254740991,
  "page_size": -9007199254740991,
  "items": [
    {
      "id": "string",
      "medicine_id": "string",
      "branch_id": "string",
      "batch_id": "string",
      "qty_delta": -9007199254740991,
      "movement_type": "string",
      "reference_type": "string",
      "reason": "string",
      "created_by": "string",
      "created_at": "string",
      "medicine_name": "string",
      "branch_name": "string",
      "user_name": "string"
    }
  ]
}
```
