Overview / Stock & supply / List warehouse requests

List warehouse requests

get https://api.flactrum.com/v1/warehouse-requests
Required scope warehouse_requests.read
Panel screenStock & supply → Warehouse requests
Success status200
Returns A paginated list of WarehouseRequest objects

Parameters

NameInTypeDescription
branch_id query string —
warehouse_id query string —
status query string —
page query integer Page number.
per_page query integer Page size. Values above the maximum are rejected rather than silently clamped.
updated_since query string Only records changed at or after this instant. Use it for incremental sync.
sort query string Column to sort by. Each endpoint lists what it accepts.
direction query string Sort direction.

Response fields

FieldTypeDescription
id string —
branch_id string —
warehouse_id string —
status string pending awaits the warehouse's approval; shipped means approved and already off warehouse stock but not yet counted in; received means counted and on branch stock. Set it through the approve/reject/receive endpoints — writing it directly moves no stock.
decision_note string|null Why the warehouse approved only part of it, or rejected it.
requested_at string|null —
approved_at string|null —
shipped_at string|null —
received_at string|null —
items array —

Examples

Recorded from the test suite — these are real requests and their real responses.

curl -X GET 'https://api.flactrum.com/v1/warehouse-requests' \
  -H 'Authorization: Bearer flk_your_key:your_secret' \
  -H 'Accept: application/json'

HTTP 200 · application/json

{
    "data": [
        {
            "id": "01m43mzmmkk1kyskvfxaxesxw6",
            "branch_id": "01m43mzmkf3avhdyds8rksj897",
            "warehouse_id": "01m43mzmmbjcx5x2f96se0wjq8",
            "status": "pending",
            "note": null,
            "requested_at": "2026-10-04T14:27:14+00:00",
            "approved_at": null,
            "shipped_at": null,
            "received_at": null,
            "item_count": 1,
            "items": [
                {
                    "id": "01m43mzmmnct9g93wajw17rm9n",
                    "stock_item_id": "01m43mzmkqb3prd348dd5fhj14",
                    "requested_quantity": 10000,
                    "approved_quantity": null,
                    "sent_quantity": null,
                    "received_quantity": null
                }
            ],
            "created_at": "2026-10-04T14:27:14+00:00",
            "updated_at": "2026-10-04T14:27:14+00:00"
        }
    ],
    "meta": {
        "total": 1,
        "page": 1,
        "per_page": 25,
        "last_page": 1
    }
}