Overview / Stock & supply / List branch transfers

List branch transfers

get https://api.flactrum.com/v1/branch-transfers
Required scope transfers.read
Panel screenStock & supply → Branch transfers
Success status200
Returns A paginated list of BranchTransfer objects

Parameters

NameInTypeDescription
branch_id query string Everything a branch sent or received.
from_branch_id query string —
to_branch_id query string —
status query string —
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 —
from_branch_id string —
to_branch_id string —
status string pending awaits the sender's approval; shipped means approved and already off the sender's stock but not yet counted in; received means counted and on the receiver's stock. Set it through the approve/reject/receive endpoints — writing it directly moves no stock.
decision_note string|null Why the sender approved only part of it, or rejected it.
items array Each line carries requested_quantity, sent_quantity (what the sender approved and shipped) and received_quantity (what the receiver counted). All in the item's base unit.

Examples

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

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

HTTP 200 · application/json

{
    "data": [
        {
            "id": "01m43mzn834yh4fcvt0fksfvj0",
            "from_branch_id": "01m43mzn7dva5ne507twbqz2xd",
            "to_branch_id": "01m43mzn7rd7cwkg8m15j2g95c",
            "status": "pending",
            "note": null,
            "requested_at": "2026-10-04T14:27:14+00:00",
            "approved_at": null,
            "shipped_at": null,
            "received_at": null,
            "item_count": 1,
            "items": [
                {
                    "id": "01m43mzn85jcth1x37v4swd2av",
                    "stock_item_id": "01m43mzn7pccy6dy4fdtts0fne",
                    "requested_quantity": 2000,
                    "sent_quantity": null,
                    "received_quantity": null
                }
            ],
            "created_at": "2026-10-04T14:27:14+00:00",
            "updated_at": "2026-10-04T14:27:14+00:00"
        }
    ],
    "meta": {
        "total": 1,
        "page": 1,
        "per_page": 25,
        "last_page": 1
    }
}