π Sorted Track & Trace
This action is used to get the tracking information from Sorted.
This action uses a combination of two endpoints:
- Get Shipments - https://docs.sorted.com/react/api/#GetShipments
- This is used to retrieve shipment data and the Sorted Shipment ID for a specified tracking number
- Get Tracking Events for Shipment ID - https://docs.sorted.com/react/api/#GetTrackingEventsbyShipmentID
- This is used to retrieve the tracking events for a given Sorted Shipment ID
Inputs
Name | Type | Description |
---|---|---|
Tracking Number | String | Tracking number |
API Key | String | API Key for authentication |
Outputs
Name | Type | Description |
---|---|---|
Success | Boolean | Whether Tracking was Found or Not |
DG Shipping Status | String | Tracking status: Ready for Shipment, Delivered, In Transit, Problem with Delivery, Returning to Sender, Ready for Pickup, Label Created, More Information Needed |
Status Description | String | The status description provided by Sorted. |
Last Event Date | String | The date of the last tracking event. Format: YYYY-MM-DDThh:mm:ss |
Shipped Date | String | Shipped Date |
Estimated Delivery Date | String | Estimated Delivery Date |
Shipments Raw Data | Object | Raw data returned from Get Shipments API Call |
Tracking Raw Data | Object | Raw data returned from Get Tracking Events API Call |
Statuses mapping
https://docs.sorted.com/react/help/shipment-states.html
{
"Label Created, More Information Needed": [],
"Ready for Shipment": [],
Delivered: [
"Delivered",
"Delivered damaged",
"Delivered to neighbour",
"Delivered to reception",
"Delivered to safe location",
"Exchange successful",
"Proof of delivery available",
],
"In Transit": [
"Out for delivery",
"In transit",
"In transit, waiting",
"Dispatched",
"Arrived at destination country",
"Cleared through customs",
"Collected by carrier",
"Dropped-off",
"Delayed",
"At customs",
"Delivery scheduled",
"Delivery rescheduled"
],
"Returning to Sender": ["Returned to sender", "Will be returned to sender"],
"Problem with Delivery": [
"Misrouted",
"Action Required",
"Incorrect Label",
"Failed to collect",
"Exchange failed",
"Delivery attempted",
"Delivery failed",
"Delivery failed card left",
"Delivery refused",
"Lost",
"Missing",
"Missing manifest",
"Shipment issue",
"Unable to track",
"Damaged",
"Customs charges due",
"Carrier changed",
"Carrier refused to collect",
"Carrier unable to collect",
"Delivery address changed",
"Held by carrier",
"Refunded",
],
"Ready for Pickup": [
"Ready for collection",
"Final collection reminder",
"Collection scheduled",
"Collection reminder",
"Collection rescheduled"
],
}
Updated 1 day ago