calculate shipping date

This block is part of the shipping group and was last modified in core v13.0.9.

calculate shipping date v13.0.9

This block is used to calculate the shipping date of a shipment.

In pins 5 + flow
  • flow
    flow
  • Connection required
    postnlconnection

    The PostNL connection.

  • Receiver Address required
    object

    The 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.

  • Delivery Date required
    date

    The wanted delivery date, used to define the shipping date needed for this package to arrive on this date.

  • Preparing Duration (days) required
    number

    The number of days it takes to send the shipment to PostNL. 1: same day, 2: next day, etc. (from your location to PostNL).

  • Sender Country Code
    value

    The ISO2 country code of the sender of this shipment.

    Default NL

Out pins 4 + flow
  • flow
    flow
  • Connection
    postnlconnection

    The PostNL connection

  • Success
    condition

    If successful, return true.

  • Calculated shipping date
    date

    The by PostNL calculated shipping date for this shipment.

  • Error
    value

    Error message if the shipping date could not be calculated.

A typical wiring for calculate shipping date: a function trigger starts the flow; open connection feeds the connection pin; new object feeds the receiver_address pin; date now feeds the delivery_date pin; number feeds the preparing_duration_days pin; the flow out pin feeds debug.

Studio canvas example for the calculate shipping date block: typical wiring for calculate shipping date.

Version history

Introduced in v13.0.9.


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