Skip to content
HALOWERK

Text Tools

shop return split deadlines

Split delivery return windows returns the first and last deadlines when each parcel has its own return clock. Use it when an agent needs checking a multi-parcel order.

POST https://text.halowerk.com/v1/shop-return-split-deadlines

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
receivedarrayYes
daysintegerYes
Show full input schema
{
  "type": "object",
  "properties": {
    "received": {
      "type": "array",
      "items": {
        "type": "string",
        "format": "date"
      },
      "maxItems": 40,
      "minItems": 1
    },
    "days": {
      "type": "integer",
      "minimum": 0,
      "maximum": 730
    }
  },
  "required": [
    "received",
    "days"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "received": [
    "2026-11-23",
    "2026-11-25"
  ],
  "days": 14
}

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": {
        "first": {
          "type": "string"
        },
        "last": {
          "type": "string"
        },
        "distinct_deadlines": {
          "type": "integer"
        }
      },
      "required": [
        "first",
        "last",
        "distinct_deadlines"
      ]
    },
    "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 →