curl --request GET \
--url https://api.cf.ovrsea.com/v1/tracking/{ovrsea_shipment_id}import requests
url = "https://api.cf.ovrsea.com/v1/tracking/{ovrsea_shipment_id}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.cf.ovrsea.com/v1/tracking/{ovrsea_shipment_id}', 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://api.cf.ovrsea.com/v1/tracking/{ovrsea_shipment_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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://api.cf.ovrsea.com/v1/tracking/{ovrsea_shipment_id}"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.cf.ovrsea.com/v1/tracking/{ovrsea_shipment_id}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.cf.ovrsea.com/v1/tracking/{ovrsea_shipment_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"ovrsea_shipment_id": "BB-BATD-5",
"status": "booking_request",
"tracking_steps": [
{
"inbound_mode_of_transport": "barge",
"outbound_mode_of_transport": "barge",
"type": "location",
"location": {
"id": 12345,
"owner": {
"id": "12345",
"name": "Acme France"
},
"company_name": "Logistics WorldWide Co",
"name": "Saint Quentin warehouse",
"client_reference": "WH-LYS-01",
"address": "357 allée des Tilleuls",
"city": "Saint Quentin Fallavier",
"zip_code": 69300,
"state": "NY",
"country": "FR",
"contacts": [
{
"name": "Thierry Henriet",
"email": "log@patagonia.com",
"phone": 33134567891
}
],
"opening_hours": "Monday to Friday 8am to 5pm",
"requires_appointment": true,
"requires_tailgate_truck": false,
"additional_information": "Please avoid Friday after 4pm",
"visibility": "private"
},
"port": {
"id": "<string>",
"name": "Le Havre",
"freight_mode": "air",
"unlocode": "FR/LEH",
"city": "Le Havre",
"country": "FR"
},
"events": [
{
"description": "Loaded on Vessel",
"container_number": "MSDU8878398",
"date": "2021-09-20T10:02:09+01:00",
"type": "accepted_by_carrier",
"mode_of_transport": "barge",
"is_from_consolidation": true,
"status": "estimated"
}
]
}
],
"positions": [
{
"latitude": "48.858093",
"longitude": "2.294694",
"recorded_at": "2021-09-20T10:02:09+01:00"
}
],
"milestones": {
"pickup": {
"current_date": "2021-09-20T10:02:09+01:00",
"status": "actual",
"initial_date": "2021-09-20T10:02:09+01:00"
},
"departure": {
"current_date": "2021-09-20T10:02:09+01:00",
"status": "actual",
"initial_date": "2021-09-20T10:02:09+01:00",
"delay_days": 123
},
"arrival": {
"current_date": "2021-09-20T10:02:09+01:00",
"status": "actual",
"initial_date": "2021-09-20T10:02:09+01:00",
"delay_days": 123
},
"delivery": {
"current_date": "2021-09-20T10:02:09+01:00",
"status": "actual",
"initial_date": "2021-09-20T10:02:09+01:00"
},
"actual_transit_time_days": 123
},
"transport": {
"freight_mode": "air",
"service": "chartering",
"truck_service": "ftl",
"ocean": {
"vessel": "CMA CGM Jacques Saadé",
"voyage": "033E",
"booking_number": "TWLEH2106004",
"master_bill": "LHV1190703558",
"house_bill": "HOUSEREF12357"
},
"air": {
"flight_number": "AF256",
"master_airway_bill": "057-12345675",
"house_airway_bill": "HAWB123456"
},
"rail": {
"train_number": "TR-2048",
"master_bill": "ZIHWB201123PLLie464",
"house_bill": "HBL-RAIL-001"
},
"truck": {
"loading_reference": "LOAD-2026-001",
"unloading_reference": "UNLOAD-2026-001",
"license_plate": "AB-123-CD"
},
"courier": {
"tracking_number": "1Z999AA10123456784"
}
},
"initial_dates": {
"eta": "2021-09-20T10:02:09+01:00",
"etd": "2021-09-20T10:02:09+01:00",
"delivery": "2021-09-20T10:02:09+01:00",
"pickup": "2021-09-20T10:02:09+01:00"
},
"ocean_coordinates": [
{
"latitude": "48.858093",
"longitude": "2.294694"
}
]
}{}Fetch a shipment's tracking.
Fetch a shipment’s tracking with its OVRSEA shipment id.
curl --request GET \
--url https://api.cf.ovrsea.com/v1/tracking/{ovrsea_shipment_id}import requests
url = "https://api.cf.ovrsea.com/v1/tracking/{ovrsea_shipment_id}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.cf.ovrsea.com/v1/tracking/{ovrsea_shipment_id}', 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://api.cf.ovrsea.com/v1/tracking/{ovrsea_shipment_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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://api.cf.ovrsea.com/v1/tracking/{ovrsea_shipment_id}"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.cf.ovrsea.com/v1/tracking/{ovrsea_shipment_id}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.cf.ovrsea.com/v1/tracking/{ovrsea_shipment_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"ovrsea_shipment_id": "BB-BATD-5",
"status": "booking_request",
"tracking_steps": [
{
"inbound_mode_of_transport": "barge",
"outbound_mode_of_transport": "barge",
"type": "location",
"location": {
"id": 12345,
"owner": {
"id": "12345",
"name": "Acme France"
},
"company_name": "Logistics WorldWide Co",
"name": "Saint Quentin warehouse",
"client_reference": "WH-LYS-01",
"address": "357 allée des Tilleuls",
"city": "Saint Quentin Fallavier",
"zip_code": 69300,
"state": "NY",
"country": "FR",
"contacts": [
{
"name": "Thierry Henriet",
"email": "log@patagonia.com",
"phone": 33134567891
}
],
"opening_hours": "Monday to Friday 8am to 5pm",
"requires_appointment": true,
"requires_tailgate_truck": false,
"additional_information": "Please avoid Friday after 4pm",
"visibility": "private"
},
"port": {
"id": "<string>",
"name": "Le Havre",
"freight_mode": "air",
"unlocode": "FR/LEH",
"city": "Le Havre",
"country": "FR"
},
"events": [
{
"description": "Loaded on Vessel",
"container_number": "MSDU8878398",
"date": "2021-09-20T10:02:09+01:00",
"type": "accepted_by_carrier",
"mode_of_transport": "barge",
"is_from_consolidation": true,
"status": "estimated"
}
]
}
],
"positions": [
{
"latitude": "48.858093",
"longitude": "2.294694",
"recorded_at": "2021-09-20T10:02:09+01:00"
}
],
"milestones": {
"pickup": {
"current_date": "2021-09-20T10:02:09+01:00",
"status": "actual",
"initial_date": "2021-09-20T10:02:09+01:00"
},
"departure": {
"current_date": "2021-09-20T10:02:09+01:00",
"status": "actual",
"initial_date": "2021-09-20T10:02:09+01:00",
"delay_days": 123
},
"arrival": {
"current_date": "2021-09-20T10:02:09+01:00",
"status": "actual",
"initial_date": "2021-09-20T10:02:09+01:00",
"delay_days": 123
},
"delivery": {
"current_date": "2021-09-20T10:02:09+01:00",
"status": "actual",
"initial_date": "2021-09-20T10:02:09+01:00"
},
"actual_transit_time_days": 123
},
"transport": {
"freight_mode": "air",
"service": "chartering",
"truck_service": "ftl",
"ocean": {
"vessel": "CMA CGM Jacques Saadé",
"voyage": "033E",
"booking_number": "TWLEH2106004",
"master_bill": "LHV1190703558",
"house_bill": "HOUSEREF12357"
},
"air": {
"flight_number": "AF256",
"master_airway_bill": "057-12345675",
"house_airway_bill": "HAWB123456"
},
"rail": {
"train_number": "TR-2048",
"master_bill": "ZIHWB201123PLLie464",
"house_bill": "HBL-RAIL-001"
},
"truck": {
"loading_reference": "LOAD-2026-001",
"unloading_reference": "UNLOAD-2026-001",
"license_plate": "AB-123-CD"
},
"courier": {
"tracking_number": "1Z999AA10123456784"
}
},
"initial_dates": {
"eta": "2021-09-20T10:02:09+01:00",
"etd": "2021-09-20T10:02:09+01:00",
"delivery": "2021-09-20T10:02:09+01:00",
"pickup": "2021-09-20T10:02:09+01:00"
},
"ocean_coordinates": [
{
"latitude": "48.858093",
"longitude": "2.294694"
}
]
}{}Path Parameters
Response
Returns tracking for a shipment
booking_request: The customer has requested the transport and it is waiting to be assigned. Acceptance moves it to awaiting_booking, and cancellation moves it to cancelled.
awaiting_booking: The transport is ready and waiting for carrier booking. Booking confirmation moves it to booked, and cancellation moves it to cancelled.
booked: The transport booking is confirmed. Pickup or departure moves it to in_progress, booking cancellation returns it to awaiting_booking, and cancellation moves it to cancelled.
in_progress: The transport is underway. Arrival moves it to arrived, completion moves it to finished, and cancellation moves it to cancelled.
arrived: The transport has arrived at its destination. Completion moves it to finished, and cancellation moves it to cancelled.
finished: The transport has finished.
cancelled: The transport was cancelled. Uncancelling restores its previous lifecycle status.
Further values may be added. Clients should handle an unknown value as an unrecognized shipment status.
booking_request, awaiting_booking, booked, in_progress, arrived, finished, cancelled 