Overview / Stock & supply / List warehouses

List warehouses

get https://api.flactrum.com/v1/warehouses
Required scope warehouses.read
Panel screenStock & supply → Warehouses
Success status200
Returns A paginated list of Warehouse objects

Parameters

NameInTypeDescription
region query string —
search query string —
page query integer Page number.
per_page query integer Page size. Values above the maximum are rejected rather than silently clamped.
active query boolean Filter by active flag. Omit to get both.
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 —
name string —
code string|null —
address string|null —
phone string|null —
region string|null —
is_active boolean —

Examples

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

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

HTTP 200 · application/json

{
    "data": [
        {
            "id": "01m43mzk7wcn9xm2q8hszmgf4k",
            "name": "Merkez depo",
            "code": "MRK",
            "address": null,
            "phone": null,
            "region": null,
            "is_active": true,
            "created_at": "2026-10-04T14:27:12+00:00",
            "updated_at": "2026-10-04T14:27:12+00:00"
        }
    ],
    "meta": {
        "total": 1,
        "page": 1,
        "per_page": 25,
        "last_page": 1
    }
}