Skip to content
HALOWERK

Text Tools

shop return shipping clock loss

Dispatch-based return windows returns how many days of the shop window were consumed in transit. Use it when an agent needs checking usable inspection time.

POST https://text.halowerk.com/v1/shop-return-shipping-clock-loss

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
shippedstringYes
receivedstringYes
windowintegerYes
Show full input schema
{
  "type": "object",
  "properties": {
    "shipped": {
      "type": "string",
      "format": "date"
    },
    "received": {
      "type": "string",
      "format": "date"
    },
    "window": {
      "type": "integer",
      "minimum": 0,
      "maximum": 730
    }
  },
  "required": [
    "shipped",
    "received",
    "window"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "shipped": "2026-11-23",
  "received": "2026-11-25",
  "window": 60
}

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": {
        "transit_days": {
          "type": "integer"
        },
        "usable_days": {
          "type": "integer"
        },
        "expired_on_arrival": {
          "type": "boolean"
        }
      },
      "required": [
        "transit_days",
        "usable_days",
        "expired_on_arrival"
      ]
    },
    "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 →