Frachtwerk
shipment lot expiry fefo plan
Return an expiry-first lot allocation after excluding lots expired before a supplied shipment date.
POST https://fracht.halowerk.com/v1/shipment-lot-expiry-fefo-planInputs
| Field | Type | Required | Description |
|---|---|---|---|
| ship_date | string | Yes | |
| required | integer | Yes | |
| lots | array | Yes |
Show full input schema
{
"type": "object",
"properties": {
"ship_date": {
"type": "string",
"maxLength": 10,
"minLength": 1
},
"required": {
"type": "integer",
"minimum": 0,
"maximum": 1000000
},
"lots": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 60,
"minLength": 1
},
"expiry": {
"type": "string",
"maxLength": 10,
"minLength": 1
},
"available": {
"type": "integer",
"minimum": 0,
"maximum": 1000000
}
},
"required": [
"id",
"expiry",
"available"
],
"additionalProperties": false
},
"maxItems": 100,
"minItems": 1
}
},
"required": [
"ship_date",
"required",
"lots"
],
"additionalProperties": false
}Published input example
{
"ship_date": "2026-11-17",
"required": 80,
"lots": [
{
"id": "LOT-1",
"expiry": "2026-11-30",
"available": 50
},
{
"id": "LOT-2",
"expiry": "2026-12-31",
"available": 100
},
{
"id": "LOT-0",
"expiry": "2026-11-16",
"available": 20
}
]
}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
- Frachtwerk0.001 USDC
airport reference
POSThttps://fracht.halowerk.com/v1/airport-referenceLooks up public-domain OurAirports reference records by exact identifier, IATA, ICAO, GPS or local code. Exposes snapshot date and ambiguity. No flight availability, route service, fare or booking claim.
- Frachtwerk0.001 USDC
airport weather
POSThttps://fracht.halowerk.com/v1/airport-weatherReturns NOAA Aviation Weather Center METAR or TAF JSON for one ICAO code, with source issue-time freshness checks. Rejects missing/stale data. No flight status, route planning or booking is performed.
- Frachtwerk0.004 USDC
bl parse
POSThttps://fracht.halowerk.com/v1/bl-parseSeparates common bill-of-lading and air-waybill reference components. Missing facts are returned as null and named in unavailable_fields where applicable. Derived values disclose their method; source-backed values disclose source, time wind