Overview /
Stock & supply /
Complete an asset count
Complete an asset count
post
https://api.flactrum.com/v1/asset-counts/{count}/apply
Writes the counted quantities onto the assets and closes the count. Lines with no counted value are skipped — a blank line does not mean "found zero". The document stays as the record of what was missing and why. This cannot be undone.
| Required scope | assets.count |
| Success status | 200 |
Parameters
| Name | In | Type | Description |
|---|---|---|---|
| count * | path | string | ULID of the record. |
Examples
Recorded from the test suite — these are real requests and their real responses.
curl -X POST 'https://api.flactrum.com/v1/asset-counts/01m43mxj2y2pteqznnez63tgft/apply' \
-H 'Authorization: Bearer flk_your_key:your_secret' \
-H 'Accept: application/json'
HTTP 200 · application/json
{
"data": {
"counted": 2,
"changed": 1,
"missing": 3,
"extra": 0
},
"meta": {
"asset_count_id": "01m43mxj2y2pteqznnez63tgft",
"status": "completed"
}
}