Tracking per numero spedizione
curl --request GET \
--url https://service.e-manager.io/api/v1/integrations/shipments/tracking/by-tracking-number/{trackingNumber} \
--header 'x-api-key: <api-key>'import requests
url = "https://service.e-manager.io/api/v1/integrations/shipments/tracking/by-tracking-number/{trackingNumber}"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://service.e-manager.io/api/v1/integrations/shipments/tracking/by-tracking-number/{trackingNumber}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://service.e-manager.io/api/v1/integrations/shipments/tracking/by-tracking-number/{trackingNumber}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://service.e-manager.io/api/v1/integrations/shipments/tracking/by-tracking-number/{trackingNumber}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://service.e-manager.io/api/v1/integrations/shipments/tracking/by-tracking-number/{trackingNumber}")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://service.e-manager.io/api/v1/integrations/shipments/tracking/by-tracking-number/{trackingNumber}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"trackingNumber": "CK662764245",
"status": "In transito",
"shipmentDate": "2023-11-07T05:31:56Z",
"expectedDeliveryDate": "2023-11-07T05:31:56Z",
"deliveredDate": "2023-11-07T05:31:56Z",
"parcelNumber": 1,
"weight": "2.50",
"volume": "12000.00",
"trackingUrl": "https://gls-group.com/IT/it/servizi-online/ricerca-spedizioni?type=NAT&match=CK662764245",
"orderNumber": "ORD-2024-001",
"marketplaceOrderNumber": "MKT-2048-12345",
"carrier": {
"name": "GLS",
"logoUrl": "https://cdn.example.com/gls.png"
},
"recipient": {
"companyName": "Rossi S.r.l.",
"address": "Via Roma 1",
"postalCode": "10121",
"city": "Torino",
"province": "TO",
"country": "Italia",
"countryCode": "IT"
},
"timeline": [
{
"timestamp": "2024-06-15T14:30:00.000Z",
"statusCode": "03",
"label": "In transito",
"description": "Spedizione in viaggio verso il hub",
"location": "Milano, MI",
"note": "Consegna prevista entro 48h"
}
],
"relatedShipments": [
{
"id": 9876,
"type": "forward",
"trackingNumber": "CK662764245",
"carrierName": "BRT",
"createdAt": "2023-11-07T05:31:56Z"
}
]
}Tracking per numero spedizione
Restituisce il dettaglio tracking strutturato di una singola spedizione identificata dal trackingNumber nel path. Accetta numero tracking principale, etichetta secondaria o identificativo alternativo (reference, parcelId, riferimenti ordine marketplace). La ricerca è limitata alla company dell’API key. Richiede scope shipments:tracking.
GET
/
v1
/
integrations
/
shipments
/
tracking
/
by-tracking-number
/
{trackingNumber}
Tracking per numero spedizione
curl --request GET \
--url https://service.e-manager.io/api/v1/integrations/shipments/tracking/by-tracking-number/{trackingNumber} \
--header 'x-api-key: <api-key>'import requests
url = "https://service.e-manager.io/api/v1/integrations/shipments/tracking/by-tracking-number/{trackingNumber}"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://service.e-manager.io/api/v1/integrations/shipments/tracking/by-tracking-number/{trackingNumber}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://service.e-manager.io/api/v1/integrations/shipments/tracking/by-tracking-number/{trackingNumber}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://service.e-manager.io/api/v1/integrations/shipments/tracking/by-tracking-number/{trackingNumber}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://service.e-manager.io/api/v1/integrations/shipments/tracking/by-tracking-number/{trackingNumber}")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://service.e-manager.io/api/v1/integrations/shipments/tracking/by-tracking-number/{trackingNumber}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"trackingNumber": "CK662764245",
"status": "In transito",
"shipmentDate": "2023-11-07T05:31:56Z",
"expectedDeliveryDate": "2023-11-07T05:31:56Z",
"deliveredDate": "2023-11-07T05:31:56Z",
"parcelNumber": 1,
"weight": "2.50",
"volume": "12000.00",
"trackingUrl": "https://gls-group.com/IT/it/servizi-online/ricerca-spedizioni?type=NAT&match=CK662764245",
"orderNumber": "ORD-2024-001",
"marketplaceOrderNumber": "MKT-2048-12345",
"carrier": {
"name": "GLS",
"logoUrl": "https://cdn.example.com/gls.png"
},
"recipient": {
"companyName": "Rossi S.r.l.",
"address": "Via Roma 1",
"postalCode": "10121",
"city": "Torino",
"province": "TO",
"country": "Italia",
"countryCode": "IT"
},
"timeline": [
{
"timestamp": "2024-06-15T14:30:00.000Z",
"statusCode": "03",
"label": "In transito",
"description": "Spedizione in viaggio verso il hub",
"location": "Milano, MI",
"note": "Consegna prevista entro 48h"
}
],
"relatedShipments": [
{
"id": 9876,
"type": "forward",
"trackingNumber": "CK662764245",
"carrierName": "BRT",
"createdAt": "2023-11-07T05:31:56Z"
}
]
}Path Parameters
Response
Was this page helpful?

