Skip to content
HALOWERK

Trade Operations

nested pack repack yield

Packaging conversion yield calculates complete destination packs and residual units when repacking a batch. Use it when an agent needs repacking across two distinct packaging specifications.

POST https://handel.halowerk.com/v1/nested-pack-repack-yield

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
factorsarrayYes
source_levelintegerYes
source_countintegerYes
destination_sizeintegerYes
Show full input schema
{
  "type": "object",
  "properties": {
    "factors": {
      "type": "array",
      "items": {
        "type": "integer",
        "minimum": 2,
        "maximum": 1000
      },
      "maxItems": 5,
      "minItems": 1
    },
    "source_level": {
      "type": "integer",
      "minimum": 0,
      "maximum": 5
    },
    "source_count": {
      "type": "integer",
      "minimum": 0,
      "maximum": 100000000
    },
    "destination_size": {
      "type": "integer",
      "minimum": 1,
      "maximum": 100000000
    }
  },
  "required": [
    "factors",
    "source_level",
    "source_count",
    "destination_size"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "factors": [
    6,
    4,
    20
  ],
  "source_level": 2,
  "source_count": 5,
  "destination_size": 8
}

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