Skip to content
HALOWERK

Trade Operations

stock demand fill rate stock

Fill-rate stock sizing finds the minimum stock meeting a unit-weighted fulfillment target across observed lead-time windows. Use it when an agent needs limiting the proportion of unfilled units.

POST https://handel.halowerk.com/v1/stock-demand-fill-rate-stock

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
unitsarrayYes
leadintegerYes
fillnumberYes
Show full input schema
{
  "type": "object",
  "properties": {
    "units": {
      "type": "array",
      "items": {
        "type": "integer",
        "minimum": 0,
        "maximum": 10000000
      },
      "maxItems": 366,
      "minItems": 2
    },
    "lead": {
      "type": "integer",
      "minimum": 1,
      "maximum": 90
    },
    "fill": {
      "type": "number",
      "minimum": 0.01,
      "maximum": 1
    }
  },
  "required": [
    "units",
    "lead",
    "fill"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "units": [
    169,
    29,
    0,
    63,
    294,
    52,
    4,
    9,
    0,
    0,
    0,
    0,
    1,
    0,
    0
  ],
  "lead": 2,
  "fill": 0.95
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-12-05 UTC.

More endpoints in this hub

All endpoints in this hub โ†’