Tracking
Endpoint: /v1/tracking/{id}
http
GET /v1/tracking/{identitication} HTTP/1.1
Host: sandbox.tristarexpress.com
Accept: application/json
Authorization: {{ token }}
Paramenters:
| Property | Required | Type | Description |
|---|---|---|---|
| identification | N | String, Integer | Tristar Id, Tristar Tracking Code or Label tracking code |
| order_number | N | String | Need to be sended via url query ?order_number= |
WARNING
Must be sent at least one of the parameters
Example
http
GET /v1/shipments/1 HTTP/1.1
Host: sandbox.tristarexpress.com
Accept: application/json
Authorization: {{ token }}
Response:
json
{
"data": [
{
"id": 1,
"tracking_event_id": 1,
"code": "SC",
"title_locale": {
"en-US": "Shipment created",
"pt-BR": "Remessa criada"
},
"short_description_locale": {
"en-US": "Shipment created but not yet moved",
"pt-BR": "Remessa criada mas ainda não movimentada"
},
"note": null,
"country_id": null,
"state_id": null,
"event_at": "2023-03-27T11:13:33.000000Z",
"created_at": "2023-03-27T11:13:33.000000Z"
}
// ...
]
}
TIP
All tracking events are returned in chronological order, the first event is the creation of the shipment.
We send the locale of the event title and short description.
You can use the title_locale and short_description_locale to show the event title and short description in the language of your choice.

