Exact date vs window

Expected delivery can come in two ways:

  • Exact date: the date provided is a single date, or a date with a time by which it should be delivered.
  • Window: a range during which the parcel should be delivered. It can be a date range, or a time range within a single day.

Sending expected delivery

If the date provided should be an exact date, then the field that should be used should be expected_delivery_at or expected_delivery_end on the Tracker model.

If the date provided should be a range, then the fields that should be used should be expected_delivery_start and expected_delivery_end