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
timestampof the event in ISO 8601 formatYYYY-MM-DD[T]HH:mm:ss.SSSZ.The
eventcan be any internal code describing a status that will be mapped by the parcelLab team.Optional
locationof 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
courierin the parcelLab format.The
tracking_numberas 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
courierin the parcelLab format.The
transportNoas 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.
Supported Event Messages
Find details below on the supported values for the event key by category.
Warehouse Events
To provide additional information about the first mile (that is: the warehouse progress to the customer), use any of the events below.
These warehouse events do not reflect a formal lifecycle and should be considered optional events. There is no need to follow this sequence or to use all events. You can choose the event that reflects best the status update you are looking to communicate. There is no reporting or exception handling on those events, they are purely informational.
WarehousePending
The order was transferred to the warehouse.
WarehousePrepared
The delivery is being prepared.
WarehouseDelay
Preparation of the delivery in the warehouse has been delayed, which will cause dispatch to be later than expected.
LabelPrinted
The shipping documents were printed.
Packed
The delivery has been packed in the warehouse.
Loaded
The shipment has been loaded in the dispatch department.
Carrier Events
If required and for certain situations, you can also explicitly set the status that would usually be provided by the carrier. This is only recommended in the case of own fleet, in-store orders and so on, where you control the delivery process. For more details on those events, see our Status Model.
PickUpScheduled
Label created; carrier pickup expected.
LabelPrinted
Label printed; preparing handover.
InboundScan
First scan into carrier network.
InTransit
Parcel moving within carrier network.
Exception-AddressIssue
Blocked due to address problem.
Exception-Damaged
Blocked because parcel damaged.
Rerouted
Parcel rerouted to a new route.
OutForDelivery
Courier out today to deliver.
FailedAttempt
Delivery attempt failed; will retry.
PickupReady
Ready for pickup at parcel shop.
Delivered
Delivered to non-specified location.
Delivered-Doorstep
Delivered to recipient at doorstep.
ReturnToSender
Failed delivery; being returned to sender.
Return Processing Events
To update customers on received returns use the events below. This is helpful as carrier events end with a delivery to the retailer's warehouse, however this typically does not constitute for the return actually being processed.
These warehouse events do not reflect a formal lifecycle and should be considered optional events. There is no reporting or exception handling on those events, they are purely informational. For a direct integration with your warehouse system and returns intake, see our dedicated Warehouse Events for Returns API.
ReturnInProcess
The returned package is being processed.
ReturnProcessed
The returned items have been processed.
ReturnRefunded
The refund of the returned and accepted items has been initiated and will be credited in a few days.
Last updated
Was this helpful?

