Overview / Stock & supply / Get one movement

Get one movement

get https://api.flactrum.com/v1/stock-movements/{movement}
Required scope stock.read
Success status200
Returns One StockMovement object

Parameters

NameInTypeDescription
movement * path string ULID of the record.

Response fields

FieldTypeDescription
id string —
stock_item_id string —
branch_id string|null —
warehouse_id string|null —
type string —
quantity number Negative means stock left.
waste_quantity number How much of this movement was loss, as a positive magnitude. On a waste movement it is the whole quantity; on a sale it is only the trim percentage built into the recipe. Zero means nothing was lost.
waste_reason string|null Set on hand-recorded waste only. Recipe trim has no reason: it is inherent to production.
waste_cost number waste_quantity valued at the movement's unit cost.
quantity_before number|null —
quantity_after number|null —
unit_cost number|null —
reference object|null The document that caused it: order, stock count, goods receipt…
note string|null —
expires_at string|null Expiry date of this batch: entered on the goods receipt line, carried along transfers.
photo_url string|null Evidence photo attached when the waste was recorded.
created_at string —

Examples

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

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

HTTP 200 · application/json

{
    "data": {
        "id": "01m43mzjkhna7146kh9eh338p7",
        "stock_item_id": "01m43mzjk48kbg3arnqqe1qwgg",
        "stock_item": {
            "id": "01m43mzjk48kbg3arnqqe1qwgg",
            "name": "Espresso çekirdeği",
            "sku": "ESP-01",
            "category_id": null,
            "unit": "kilogram",
            "base_unit": "gram",
            "default_cost": 1.2,
            "critical_level": 500,
            "is_active": true,
            "created_at": "2026-10-04T14:27:12+00:00",
            "updated_at": "2026-10-04T14:27:12+00:00"
        },
        "branch_id": "01m43mzjjvcqjd0grnj20jhzpv",
        "warehouse_id": null,
        "type": "adjustment",
        "quantity": 5000,
        "waste_quantity": 0,
        "waste_reason": null,
        "waste_cost": 0,
        "quantity_before": 0,
        "quantity_after": 5000,
        "unit_cost": 1.2,
        "total_cost": 6000,
        "reference": null,
        "note": "Açılış stoğu",
        "expires_at": null,
        "photo_url": null,
        "created_at": "2026-10-04T14:27:12+00:00"
    }
}