Skip to content
HALOWERK

Trade Operations

quantity tier return reprice

Tier return credit reprices the retained order and measures the credit or additional amount due after a return. Use it when an agent needs reconciling a quantity reduction across a price break.

POST https://handel.halowerk.com/v1/quantity-tier-return-reprice

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
tiersarrayYes
modeSee schemaYes
quantityintegerYes
returnedintegerYes
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"
      ]
    },
    "quantity": {
      "type": "integer",
      "minimum": 1,
      "maximum": 1000000
    },
    "returned": {
      "type": "integer",
      "minimum": 1,
      "maximum": 1000000
    }
  },
  "required": [
    "tiers",
    "mode",
    "quantity",
    "returned"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "tiers": [
    [
      1,
      12
    ],
    [
      10241,
      11
    ],
    [
      153601,
      8
    ]
  ],
  "mode": "graduated",
  "quantity": 12000,
  "returned": 2500
}

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