Close
logo

Providing Tracking Information

Git RepositoryEdit on Github
Last update: 2 years ago by luigi mangaReading time: 2 min

Onport can fetch tracking details from a service for any labels generated. To to this, you need to enter the tracking endpoint URL under the shipping integration setup. This endpoint will send a POST request, with the external ID returned from the previous label endpoint. You'll need to return the data in the following format:

{
"trackingEvents": {
"externalId": "track-123",
"statusAt": "{{date}}",
"status": "transit",
"subStatus": "information_received",
"actionRequired": true,
"details": "On route to customer",
"city": "San Francisco",
"state": "CA",
"zip": "94111",
"country": "US"
}
}

The statusAt and externalId fields are required, all other fields are optional. For details on the values for the fields, see the tracking-events.json schema definiations:

https://reference.jetti.io/#endpoint-tracking-event

๐Ÿ“ฆ Custom Carrier โ€” Previous
Printing a Shipping Label
Next โ€” โŒจ๏ธ Dropship Providers
Creating Dropship Providers