Order/Warehouse Events
Our API provides you with great flexibility and scope to retrieve and send data as you need. In this case, sending a custom event/checkpoint to be displayed in the order status history for a tracking.
Send Custom Events
Details of how the shop-event
endpoint can be used to send custom events in the parcelLab system are described below.
Allowed API Payload Structures
This API accepts request bodies (payloads) to update via multiple reference numbers. The provided payload always must contain:
The
timestamp
of the event in ISO 8601 formatYYYY-MM-DD[T]HH:mm:ss.SSSZ
.The
event
can be any internal code describing a status that will be mapped by the parcelLab team.Optional
location
of the event as any clear text string.
Via Courier and Tracking Number
To update a specific tracking via providing the original courier code and tracking number, your payload must include the following:
The
courier
in the parcelLab format.The
tracking_number
as listed in the parcelLab system.
Via Courier and Transport Number
If the provided event should be applied to multiple trackings on a single transport, the payload can be changed to include the following:
The
courier
in the parcelLab format.The
transportNo
as listed in the parcelLab system for one or multiple trackings.
Via Order Number
Events can also be attached to any order. For this, the identification key is orderNo
, which can be included in your payload as listed in the parcelLab system.
Send Status Updates for Custom Couriers
Details of how the hook-custom-courier
endpoint can be used to send status updates for custom couriers in the parcelLab system are described below.
Last updated
Was this helpful?