Skip to content
HALOWERK

Trade Operations

nested pack sealed order rounding

Packaging order rounding finds how many sealed packs cover a requested unit quantity and reports the unavoidable surplus. Use it when an agent needs a purchase-order pack multiple.

POST https://handel.halowerk.com/v1/nested-pack-sealed-order-rounding

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
factorsarrayYes
unitsintegerYes
order_levelintegerYes
Show full input schema
{
  "type": "object",
  "properties": {
    "factors": {
      "type": "array",
      "items": {
        "type": "integer",
        "minimum": 2,
        "maximum": 1000
      },
      "maxItems": 5,
      "minItems": 1
    },
    "units": {
      "type": "integer",
      "minimum": 0,
      "maximum": 100000000
    },
    "order_level": {
      "type": "integer",
      "minimum": 0,
      "maximum": 5
    }
  },
  "required": [
    "factors",
    "units",
    "order_level"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "factors": [
    6,
    4,
    20
  ],
  "units": 105,
  "order_level": 2
}

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