Skip to content
HALOWERK

Zollwerk

shipment quota prorata allocation

Allocate a declared quota by priority class and exact integer prorating within the exhausted class.

POST https://zoll.halowerk.com/v1/shipment-quota-prorata-allocation

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
availableintegerYes
requestsarrayYes
Show full input schema
{
  "type": "object",
  "properties": {
    "available": {
      "type": "integer",
      "minimum": 0,
      "maximum": 1000000000
    },
    "requests": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "maxLength": 64,
            "minLength": 1
          },
          "quantity": {
            "type": "integer",
            "minimum": 0,
            "maximum": 1000000000
          },
          "priority": {
            "type": "integer",
            "minimum": 0,
            "maximum": 100
          }
        },
        "required": [
          "id",
          "quantity",
          "priority"
        ],
        "additionalProperties": false
      },
      "maxItems": 100,
      "minItems": 1
    }
  },
  "required": [
    "available",
    "requests"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "available": 7,
  "requests": [
    {
      "id": "A",
      "quantity": 3,
      "priority": 0
    },
    {
      "id": "B",
      "quantity": 4,
      "priority": 1
    },
    {
      "id": "C",
      "quantity": 4,
      "priority": 1
    }
  ]
}

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

All endpoints in this hub โ†’