Overview / Stock & supply / Pull the branch assets into the sheet

Pull the branch assets into the sheet

post https://api.flactrum.com/v1/asset-counts/{count}/snapshot

Freezes what the records say for every asset of that branch. Counts already entered are kept and newly added assets appear, so it is safe to repeat while counting. Written-off assets are left out.

Required scope assets.count
Success status200

Parameters

NameInTypeDescription
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/snapshot' \
  -H 'Authorization: Bearer flk_your_key:your_secret' \
  -H 'Accept: application/json'

HTTP 200 · application/json

{
    "data": {
        "lines": 2
    },
    "meta": {
        "asset_count_id": "01m43mxj2y2pteqznnez63tgft"
    }
}