🔑 InPost PL Track & Trace

This action is used to get the tracking information from InPost PL for a specified tracking number

https://dokumentacja-inpost.atlassian.net/wiki/spaces/PL/pages/11731050/Tracking+przesy+ki
https://dokumentacja-inpost.atlassian.net/wiki/spaces/PL/pages/11731056/Statusy#Lista-status%C3%B3w-kt%C3%B3re-posiadaj%C4%85-przypisany-origin_status

Inputs

NameTypeDescription
Tracking NumberStringTracking number

Outputs

NameTypeDescription
Found Tracking?BooleanWhether the tracking information was found
True / False
DG Shipping StatusStringTracking status:
Ready for Shipment,
Delivered,
In Transit,
Problem with Delivery,
Returning to Sender,
Ready for Pickup,
Label Created, More Information Needed
StatusStringThe original status provided by InPost PL.
Last Event DateStringThe date of the last tracking event.
Format:
YYYY-MM-DDThh:mm:ss
Raw DataObjectTracking Data

Statuses mapping

{
    "Label Created, More Information Needed": [
   		  "created"
    ],
    "Ready for Shipment": [
    		"confirmed"
    ],
    "Delivered": [
        "delivered"
    ],
    "In Transit": [
        "adopted_at_source_branch",
        "sent_from_source_branch",
        "out_for_delivery",
        "adopted_at_sorting_center",
        "out_for_delivery_to_address",
        "taken_by_courier_from_customer_service_point",
        "courier_avizo_in_customer_service_point",
        "unstack_from_customer_service_point",
        "stack_in_box_machine",
        "unstack_from_box_machine",
        "stack_in_customer_service_point",
        "taken_by_courier_from_pok",
        "readdressed",
        "taken_by_courier",
        "collected_from_sender",
        "dispatched_by_sender",
        "dispatched_by_sender_to_pok"
    ],
    "Returning to Sender": [
				"returned_to_sender"
    ],
    "Problem with Delivery": [
        "canceled_redirect_to_box",
        "redirect_to_box",
        "undelivered_cod_cash_receiver",
        "undelivered_wrong_address",
        "stack_parcel_in_box_machine_pickup_time_expired",
        "stack_parcel_pickup_time_expired",
        "unstack_from_box_machine",
        "claimed",
        "canceled",
        "delay_in_delivery",
        "undelivered",
        "rejected_by_receiver",
        "oversized"
        
    ],
    "Ready for Pickup": [
        "ready_to_pickup",
        "pickup_reminder_sent_address",
        "ready_to_pickup_from_branch",
        "pickup_reminder_sent",
        "ready_to_pickup_from_pok"
    ]
}