Custom Events
Add Your Own Events to Improve the Tracking
Last updated 28 May 2024
You can easily complement the tracking experience by adding your own events. This can be particularly useful for scenarios when the shipment is not being actively handled by the transporter, or to show events from another system. Some good examples are:
- Events from your warehouse to show picking and packing progress
- Events from a customer support system to show questions and complaints
Via API
To add events to a shipment, we provide an endpoint that can be used to automatically add events as they occur in your system. Please refer to the API documentation for more information.
Default starting event
To make things easy, it is possible to by default always generate a starting warehouse event when you initialize tracking for an order. To do this, the following conditions must apply:
- You have added your warehouse as an organization location
- Or do it here
- There are no events already added for the shipment
- You pass in a valid organization location identifier in your call to the TrackShipment endpoint or the origin information (postal code, country) matches one of your organization locations
This will also enhance your internal tracking experience when using Scope, as the default starting events are clearly differentiated.