Skip to content
HALOWERK

Handelswerk

warehouse reservation waterfall

Replay ordered stock reservations and releases with shortages and available balances.

POST https://handel.halowerk.com/v1/warehouse-reservation-waterfall

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
stocknumberYes
eventsarrayYes
Show full input schema
{
  "type": "object",
  "properties": {
    "stock": {
      "type": "number",
      "minimum": 0,
      "maximum": 1000000000
    },
    "events": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "kind": {
            "enum": [
              "reserve",
              "release",
              "receipt"
            ]
          },
          "quantity": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000
          }
        },
        "required": [
          "kind",
          "quantity"
        ],
        "additionalProperties": false
      },
      "maxItems": 300,
      "minItems": 0
    }
  },
  "required": [
    "stock",
    "events"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "stock": 10,
  "events": [
    {
      "kind": "reserve",
      "quantity": 8
    },
    {
      "kind": "reserve",
      "quantity": 4
    },
    {
      "kind": "release",
      "quantity": 3
    }
  ]
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-11-18 UTC.

More endpoints in this hub

All endpoints in this hub โ†’