Skip to content
HALOWERK

Text Tools

shop return restocking threshold

Threshold restocking fee returns the deduction when a merchant rate starts at a stated item value. Use it when an agent needs checking the net value of a high-value return.

POST https://text.halowerk.com/v1/shop-return-restocking-threshold

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
itemintegerYes
thresholdintegerYes
basis_pointsintegerYes
Show full input schema
{
  "type": "object",
  "properties": {
    "item": {
      "type": "integer",
      "minimum": 0,
      "maximum": 100000000
    },
    "threshold": {
      "type": "integer",
      "minimum": 0,
      "maximum": 100000000
    },
    "basis_points": {
      "type": "integer",
      "minimum": 0,
      "maximum": 10000
    }
  },
  "required": [
    "item",
    "threshold",
    "basis_points"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "item": 2000,
  "threshold": 50000,
  "basis_points": 500
}

Result & documentation

Show published result schema
{
  "type": "object",
  "required": [
    "measured_at",
    "source",
    "data",
    "limitations"
  ],
  "properties": {
    "measured_at": {
      "type": "string"
    },
    "source": {
      "type": "object",
      "required": [
        "reference",
        "retrieved_at"
      ],
      "properties": {
        "reference": {
          "type": "string"
        },
        "retrieved_at": {
          "type": "string"
        }
      }
    },
    "data": {
      "type": "object",
      "properties": {
        "applies": {
          "type": "boolean"
        },
        "fee": {
          "type": "integer"
        },
        "net": {
          "type": "integer"
        }
      },
      "required": [
        "applies",
        "fee",
        "net"
      ]
    },
    "limitations": {
      "type": "string"
    }
  }
}

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 →