Overview /
Stock & supply /
Start an asset count
Start an asset count
post
https://api.flactrum.com/v1/asset-counts
Counting is its own scope: being able to edit the inventory does not make you able to close a count.
| Required scope | assets.count |
| Success status | 201 |
| Returns | One AssetCount object |
Request body
| Field | Type | Description |
|---|---|---|
| branch_id * | string | — |
| code | string | Generated when empty. |
| status | string | — |
| note | string | — |
| items | array | Replaces every line when sent. |
Response fields
| Field | Type | Description |
|---|---|---|
| id | string | — |
| code | string | — |
| branch_id | string | — |
| status | string | — |
| note | string|null | — |
| started_at | string|null | — |
| completed_at | string|null | — |
| items | array | — |
Examples
Recorded from the test suite — these are real requests and their real responses.
curl -X POST 'https://api.flactrum.com/v1/asset-counts' \
-H 'Authorization: Bearer flk_your_key:your_secret' \
-H 'Content-Type: application/json' \
-d '{
"branch_id": "01m43mxj27cc9zfs0merrpdxka"
}'
HTTP 201 · application/json
{
"data": {
"id": "01m43mxj2y2pteqznnez63tgft",
"code": "DSY-261004-6419",
"branch_id": "01m43mxj27cc9zfs0merrpdxka",
"status": "draft",
"note": null,
"started_at": null,
"completed_at": null,
"item_count": 0,
"items": [],
"created_at": "2026-10-04T14:26:06+00:00",
"updated_at": "2026-10-04T14:26:06+00:00"
}
}