Skip to content
HALOWERK

Trade Operations

quantity tier supplier choice

Supplier quote comparison returns the cheaper of two delivered prices. Use it when an agent needs a two-vendor cost comparison.

POST https://handel.halowerk.com/v1/quantity-tier-supplier-choice

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
tiersarrayYes
modeSee schemaYes
other_tiersarrayYes
other_modeSee schemaYes
feeintegerYes
other_feeintegerYes
quantityintegerYes
Show full input schema
{
  "type": "object",
  "properties": {
    "tiers": {
      "type": "array",
      "items": {
        "type": "array",
        "items": {
          "type": "integer",
          "minimum": 0,
          "maximum": 1000000
        },
        "minItems": 2,
        "maxItems": 2
      },
      "maxItems": 24,
      "minItems": 1
    },
    "mode": {
      "enum": [
        "graduated",
        "volume"
      ]
    },
    "other_tiers": {
      "type": "array",
      "items": {
        "type": "array",
        "items": {
          "type": "integer",
          "minimum": 0,
          "maximum": 1000000
        },
        "minItems": 2,
        "maxItems": 2
      },
      "maxItems": 24,
      "minItems": 1
    },
    "other_mode": {
      "enum": [
        "graduated",
        "volume"
      ]
    },
    "fee": {
      "type": "integer",
      "minimum": 0,
      "maximum": 1000000
    },
    "other_fee": {
      "type": "integer",
      "minimum": 0,
      "maximum": 1000000
    },
    "quantity": {
      "type": "integer",
      "minimum": 1,
      "maximum": 1000000
    }
  },
  "required": [
    "tiers",
    "mode",
    "other_tiers",
    "other_mode",
    "fee",
    "other_fee",
    "quantity"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "tiers": [
    [
      1,
      12
    ],
    [
      10241,
      11
    ]
  ],
  "mode": "graduated",
  "quantity": 12000,
  "other_tiers": [
    [
      1,
      23
    ],
    [
      1025,
      22
    ],
    [
      10241,
      20
    ]
  ],
  "other_mode": "graduated",
  "fee": 100,
  "other_fee": 0
}

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