Skip to content
HALOWERK

Calculators and Rule Checks

shop basket price change at checkout

Shop checkout price drift reconciles advertised and charged unit prices for matching quantities. Use it when an agent needs finding which lines changed after being added to a basket.

POST https://rechen.halowerk.com/v1/shop-basket-price-change-at-checkout

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
advertisedarrayYes
checkoutarrayYes
quantitiesarrayYes
Show full input schema
{
  "type": "object",
  "properties": {
    "advertised": {
      "type": "array",
      "items": {
        "type": "integer",
        "minimum": 0,
        "maximum": 10000000
      },
      "maxItems": 50,
      "minItems": 1
    },
    "checkout": {
      "type": "array",
      "items": {
        "type": "integer",
        "minimum": 0,
        "maximum": 10000000
      },
      "maxItems": 50,
      "minItems": 1
    },
    "quantities": {
      "type": "array",
      "items": {
        "type": "integer",
        "minimum": 1,
        "maximum": 10000
      },
      "maxItems": 50,
      "minItems": 1
    }
  },
  "required": [
    "advertised",
    "checkout",
    "quantities"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "advertised": [
    255,
    339,
    295
  ],
  "checkout": [
    295,
    339,
    295
  ],
  "quantities": [
    1,
    1,
    1
  ]
}

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": {
        "higher_lines": {
          "type": "integer"
        },
        "lower_lines": {
          "type": "integer"
        },
        "net_change": {
          "type": "integer"
        }
      },
      "required": [
        "higher_lines",
        "lower_lines",
        "net_change"
      ]
    },
    "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 →