Skip to content
HALOWERK

Text Tools

shop return seasonal extension

Seasonal return extension returns the effective deadline when a holiday policy provides a later fixed date. Use it when an agent needs applying a purchase-period exception.

POST https://text.halowerk.com/v1/shop-return-seasonal-extension

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
boughtstringYes
receivedstringYes
daysintegerYes
startstringYes
endstringYes
extended_tostringYes
Show full input schema
{
  "type": "object",
  "properties": {
    "bought": {
      "type": "string",
      "format": "date"
    },
    "received": {
      "type": "string",
      "format": "date"
    },
    "days": {
      "type": "integer",
      "minimum": 0,
      "maximum": 730
    },
    "start": {
      "type": "string",
      "format": "date"
    },
    "end": {
      "type": "string",
      "format": "date"
    },
    "extended_to": {
      "type": "string",
      "format": "date"
    }
  },
  "required": [
    "bought",
    "received",
    "days",
    "start",
    "end",
    "extended_to"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "bought": "2026-11-23",
  "received": "2026-11-25",
  "days": 30,
  "start": "2026-11-01",
  "end": "2026-12-24",
  "extended_to": "2027-01-15"
}

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": {
        "ordinary": {
          "type": "string"
        },
        "effective": {
          "type": "string"
        },
        "extra_days": {
          "type": "integer"
        }
      },
      "required": [
        "ordinary",
        "effective",
        "extra_days"
      ]
    },
    "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 →