Overview / Stock & supply / List assets

List assets

get https://api.flactrum.com/v1/assets

What a branch owns rather than what it consumes: tables, chairs, fridges, coffee machines. Assets are never sold and never enter a recipe, so they live apart from stock. Identical items share one row with a quantity (20 chairs are one row); price, serial number, manufacturer and warranty dates are all optional — a table has no serial number, a fridge does.

Required scope assets.read
Panel screenStock & supply → Assets
Success status200
Returns A paginated list of Asset objects

Parameters

NameInTypeDescription
branch_id query string —
category query string —
status query string —
search query string Matches name, serial number or asset code.
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 The branch whose inventory holds it; counts run per branch.
name string —
category string —
status string —
quantity integer How many identical items this row stands for.
code string|null Your own label. Unique within the brand when given.
serial_number string|null —
manufacturer string|null —
model string|null —
unit_price number|null —
total_value number|null quantity × unit_price, or null when no price is recorded.
purchased_at string|null —
warranty_until string|null —
warranty_expired boolean False when no warranty date is recorded — unknown is not expired.
note string|null —

Examples

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

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

HTTP 200 · application/json

{
    "data": [
        {
            "id": "01m43mxhph1n0d20rrbmc41mnt",
            "branch_id": "01m43mxhnxx8ejva42083nk86h",
            "name": "Buzdolabı",
            "category": "kitchen",
            "status": "active",
            "quantity": 1,
            "code": null,
            "serial_number": "SN-99812",
            "manufacturer": "Arçelik",
            "model": null,
            "unit_price": 42500,
            "total_value": 42500,
            "purchased_at": null,
            "warranty_until": "2028-03-01",
            "warranty_expired": false,
            "note": null,
            "created_at": "2026-10-04T14:26:05+00:00",
            "updated_at": "2026-10-04T14:26:05+00:00"
        }
    ],
    "meta": {
        "total": 1,
        "page": 1,
        "per_page": 25,
        "last_page": 1
    }
}