This article covers the following topics:

1. How is the estimated delivery date computed?

2. How does our prioritization rules work?

The promise date is used on the tracking page to compute the "estimated delivery date" and it is also used to trigger the late package notification. 

1. How is the estimated delivery date computed?

The Expected Delivery for a tracker can be obtained from 3 different sources

1. Merchant

  • Provided by the merchant via API or FTP
  • Format: DateTime

2. Promise

  • Shipment date of the package + X days.
  • Format: date

You can modify the promise per carrier  from the setting > general menu

You can fix the promise in business day and decide to include or not the weekends : 

Explanatory video (Do not forget to save! )

3. Carrier

  • Provided by the carrier. This date is not available for all carriers. When the date is available we can use it
  • Format: date or datetime

2. How does our prioritization rules work?

⚠️⚠️ Priorization rule : Carrier has priority over the Promise over the Merchant

The idea is to have the following lifecycle for Expected Delivery:

  1. When the package is not yet shipped we use Merchant date
  2. When the package is shipped (ie at least one event "package_shipped" has been received), the Promise date is computed from the configuration of the company. We then use Promise data
  3. Once we have the date from the carrier, the Carrier date is created and we then use this date

The expected delivery is displayed/used:

  • on the tracking page
  • in email notifications (or SMS notifications via liquid)
  • it can generate a Late package notification when the Promise expected delivery is overdue. More info HERE

Did this answer your question?