Skip to content
HALOWERK

Trade Operations

freight dim packing choice

Carton choice returns the lowest billable weight among packages that fit the item. Use it when an agent needs a fit and cost ranking from item dimensions followed by inside/outside pairs, with one tare per carton.

POST https://handel.halowerk.com/v1/freight-dim-packing-choice

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
sizes_cmarrayYes
mass_kgnumberYes
tares_kgarrayYes
divisornumberYes
step_kgnumberYes
Show full input schema
{
  "type": "object",
  "properties": {
    "sizes_cm": {
      "type": "array",
      "items": {
        "type": "array",
        "items": {
          "type": "number",
          "minimum": 0.01,
          "maximum": 10000
        },
        "maxItems": 3,
        "minItems": 3
      },
      "maxItems": 41,
      "minItems": 3
    },
    "mass_kg": {
      "type": "number",
      "minimum": 0.001,
      "maximum": 1000000
    },
    "tares_kg": {
      "type": "array",
      "items": {
        "type": "number",
        "minimum": 0,
        "maximum": 1000
      },
      "maxItems": 20,
      "minItems": 1
    },
    "divisor": {
      "type": "number",
      "minimum": 1,
      "maximum": 10000000
    },
    "step_kg": {
      "type": "number",
      "minimum": 0.001,
      "maximum": 1000
    }
  },
  "required": [
    "sizes_cm",
    "mass_kg",
    "tares_kg",
    "divisor",
    "step_kg"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "sizes_cm": [
    [
      12,
      15,
      20
    ],
    [
      39,
      29,
      49
    ],
    [
      40,
      30,
      50
    ],
    [
      49,
      34,
      29
    ],
    [
      50,
      35,
      30
    ]
  ],
  "mass_kg": 8,
  "tares_kg": [
    0.3,
    0.4
  ],
  "divisor": 5000,
  "step_kg": 0.5
}

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