Skip to content
HALOWERK

Calculators and Rule Checks

shop basket mandatory fee share

Mandatory shop fee share measures the advertised subtotal uplift caused by fixed checkout charges. Use it when an agent needs comparing advertised and unavoidable prices.

POST https://rechen.halowerk.com/v1/shop-basket-mandatory-fee-share

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
goodsintegerYes
mandatoryarrayYes
optionalarrayYes
Show full input schema
{
  "type": "object",
  "properties": {
    "goods": {
      "type": "integer",
      "minimum": 1,
      "maximum": 1000000000
    },
    "mandatory": {
      "type": "array",
      "items": {
        "type": "integer",
        "minimum": 0,
        "maximum": 10000000
      },
      "maxItems": 50,
      "minItems": 1
    },
    "optional": {
      "type": "array",
      "items": {
        "type": "integer",
        "minimum": 0,
        "maximum": 10000000
      },
      "maxItems": 50,
      "minItems": 1
    }
  },
  "required": [
    "goods",
    "mandatory",
    "optional"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "goods": 933,
  "mandatory": [
    750
  ],
  "optional": [
    0
  ]
}

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": {
        "minimum_total": {
          "type": "integer"
        },
        "with_options": {
          "type": "integer"
        },
        "uplift_basis_points": {
          "type": "integer"
        }
      },
      "required": [
        "minimum_total",
        "with_options",
        "uplift_basis_points"
      ]
    },
    "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 →