Skip to content
HALOWERK

Trade Operations

stock demand expiry casepack

Shelf-life case-pack check measures how often a proposed purchase lot would leave units unsold by its expiry. Use it when an agent needs testing a supplier pack size against sell-through.

POST https://handel.halowerk.com/v1/stock-demand-expiry-casepack

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
unitsarrayYes
shelf_periodsintegerYes
lotintegerYes
Show full input schema
{
  "type": "object",
  "properties": {
    "units": {
      "type": "array",
      "items": {
        "type": "integer",
        "minimum": 0,
        "maximum": 10000000
      },
      "maxItems": 366,
      "minItems": 2
    },
    "shelf_periods": {
      "type": "integer",
      "minimum": 1,
      "maximum": 90
    },
    "lot": {
      "type": "integer",
      "minimum": 1,
      "maximum": 1000000000
    }
  },
  "required": [
    "units",
    "shelf_periods",
    "lot"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "units": [
    169,
    29,
    0,
    63,
    294,
    52,
    4,
    9,
    0,
    0,
    0,
    0,
    1,
    0,
    0
  ],
  "shelf_periods": 3,
  "lot": 50
}

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 โ†’