calculate delivery date
This block is part of the shipping group and was last modified in core v13.0.9.
calculate delivery date
v13.0.9
This block is used to calculate the delivery date of a shipment.
| Pin | Pin | Type | Default |
|---|---|---|---|
| flow |
flow |
||
ConnectionrequiredThe PostNL connection. |
postnlconnection |
||
Receiver AddressrequiredThe address of the receiver of this shipment. Object should contain the following fields: city, country_code (ISO2), house_number, street, zip_code, house_number_ext. |
object |
||
Preparing DaterequiredThe preparing date for the shipment (date when preparing the shipment for sending). |
date |
||
Preparing Duration (days)requiredThe number of days it takes to send the shipment to PostNL. 1: same day, 2: next day, etc. |
number |
||
Default Cuttoff TimerequiredThis is the defaultdeadline for placing an order to ensure that the shipment is processed and handed over to PostNL on the same day. Format: HH:MM. Can be overriden for each day by the Cutoff extra options field. |
value |
||
| Sender Country Code The ISO2 country code of the sender of this shipment. |
value |
NL |
|
| Cutoff extra options Array containing extra options for cutoff. For each day that has other cutoff settings make a object in the array with the day field (e.g. sunday). The object should also contain the following fields: cutoff_time (value HH:MM) and is_available (condition that indicates if you ship on that date). |
array |
| Pin | Pin | Type | Example |
|---|---|---|---|
| flow |
flow |
||
ConnectionrequiredThe PostNL connection |
postnlconnection |
||
| Success If successful, return true. |
condition |
||
| Calculated delivery date The by PostNL calculated delivery date for this shipment. |
date |
||
| Error Error message if the delivery date could not be calculated. |
value |
Core Releases
v13.0.9 This block was introduced inv13.0.9, click here to see the release notes.
Back to
shipping
Return to the main group to view all sub-groups
Back to PostNL
Return to the group to view all blocks within this group