Rastrear remessa
Endpoint: /v1/tracking/{id}
http
GET /v1/tracking/{identitication} HTTP/1.1
Host: sandbox.tristarexpress.com
Accept: application/json
Authorization: {{ token }}
Parametros:
| Property | Required | Type | Description |
|---|---|---|---|
| identification | N | String, Integer | Tristar Id, Tristar Tracking Code or Label tracking code |
| order_number | N | String | Pode ser enviado via url query ?order_number= |
Resposta:
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"
}
// ...
]
}
Exemplo de requisição
Endpoint: /v1/tracking/{identification}
http
GET /v1/tracking/1 HTTP/1.1
Host: sandbox.tristarexpress.com
Accept: application/json
Authorization: {{ token }}

