Overview / Stock & supply / List the brand's own measures

List the brand's own measures

get https://api.flactrum.com/v1/custom-units

Measures such as a scoop or a pump, used when entering recipe lines. Stock and cost stay in the base unit.

Required scope stock_items.read
Panel screenStock & supply → Measurement units
Success status200
Returns A paginated list of CustomUnit objects

Parameters

NameInTypeDescription
search query string —
family 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 —
name string —
family string —
base_unit string —
factor_to_base number How many base units one of this is: 1 scoop = 30 (ml).

Examples

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

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

HTTP 200 · application/json

{
    "data": [
        {
            "id": "01m43sq5x66wsnx135fwrwy8pb",
            "name": "ölçek",
            "family": "volume",
            "base_unit": "mililitre",
            "factor_to_base": 30,
            "created_at": "2026-10-04T15:49:59+00:00",
            "updated_at": "2026-10-04T15:49:59+00:00"
        }
    ],
    "meta": {
        "total": 1,
        "page": 1,
        "per_page": 25,
        "last_page": 1
    }
}