Parcel Lab Get Checkpoints by Order Number

Here’s the documentation for the Get Checkpoints via Order Number action, designed to retrieve shipment status updates from ParcelLab’s API.

This action retrieves the current status of a shipment from ParcelLab using a specific order number.

Inputs

To use this action in your flow, provide the following inputs:

InputTypeDescription
Order NumberStringThe unique identifier assigned to the order
User IDStringYour ParcelLab user ID.
TokenSensitive StringAuthentication token for the ParcelLab API.

Outputs

The action returns the following outputs:


OutputTypeDescription
SuccessBooleanTrue if the tracking data was found; False if no data was found.
Tracking DataObjectContains the shipment’s tracking information, including status updates and timestamps

API Endpoint

This action utilizes the Get Checkpoints API provided by ParcelLab.

GET <https://api.parcellab.com/v2/checkpoints>
Query Parameters:  
	•	user (number): Your ParcelLab user ID.  
	•	orderNo (string): The assigned order number.  
	•	lang (string, optional): Language as ISO 3166-1 alpha-3; defaults to ‘en’.

Example Request:

curl --location '<https://api.parcellab.com/v2/checkpoints/?user=USERID&orderNo=12ORDER34&lang=de'>

Example Response:

{  
  "header": [  
    {  
      "id": "579f6444b6a1bb4fbaab5610",  
      "tracking_number": "00340000000000000001",  
      "courier": {  
        "name": "dhl-germany",  
        "prettyname": "DHL",  
        "trackingurl": "https://nolp.dhl.de/ne~~~00001",  
        "trackingurl_label": "Klicken Sie hier für weitere Informationen zur Sendung."  
      },  
      "last_delivery_status": {  
        "status": "Zugestellt",  
        "status_details": "Die Ware wurde erfolgreich zugestellt.",  
        "code": "Delivered"  
      },  
      "delay": false,  
      "exception": false  
    }  
  ],  
  "body": {  
    "579f6444b6a1bb4fbaab5610": [  
      {  
        "shown": true,  
        "status": "OrderProcessed",  
        "status_text": "Bestellung verarbeitet",  
        "status_details": "Die Bestellung wurde verarbeitet.",  
        "full_courier_status": "If exists, date of order, else date of import to parcelLab",  
        "location": "Sample City",  
        "timestamp": "2015-08-10T15:18:27.000Z"  
      }  
    ]  
  }  
}

For detailed information, refer to the ParcelLab API Documentation

This action enables efficient retrieval of shipment status updates, facilitating seamless tracking and enhanced customer communication.