curl --request GET \
--url https://api.cf.ovrsea.com/v1/shipments/{ovrsea_shipment_id}import requests
url = "https://api.cf.ovrsea.com/v1/shipments/{ovrsea_shipment_id}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.cf.ovrsea.com/v1/shipments/{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/shipments/{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/shipments/{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/shipments/{ovrsea_shipment_id}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.cf.ovrsea.com/v1/shipments/{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{
"name": "June Air Export USA",
"ovrsea_shipment_id": "BB-BATD-5",
"status": "booking_request",
"created_at": "2021-09-20T10:02:09+01:00",
"incoterm": "fob",
"freight_mode": "air",
"load_type": "fcl",
"service": "chartering",
"truck_service": "ftl",
"truck_details": {
"body_type": "box",
"capacity": "mega",
"category": "crane_truck",
"special_equipments": [
"crane"
]
},
"freight_type": "port_to_door",
"route": {
"pickup_location_id": "23",
"origin_port_id": "123",
"origin_port_unlocode": "FR/FOS",
"destination_port_id": "456",
"destination_port_unlocode": "US/NYC",
"delivery_location_id": "45"
},
"cargo_ready_date": "2021-10-11",
"desired_delivery_date": "2021-10-11",
"specific_instructions": "<string>",
"cargo": {
"total_weight": {
"value": 350.25,
"unit": "kg"
},
"total_volume": {
"value": 10.25,
"unit": "m3"
},
"total_teus": 5,
"containers": [
{
"container_type": "twenty_foot_standard",
"container_number": "TEMU8667058",
"seal_number": 1332641,
"foodgrade": true,
"is_hazardous": true,
"hazardous_description": "UN1993",
"purchase_order_references": [
4500346155
]
}
],
"loads": [
{
"count": 3,
"is_hazardous": true,
"hazardous_description": "UN1993",
"type": "pallet",
"pallet_size": "120x80",
"weight": {
"value": 350.25,
"unit": "kg"
},
"volume_unit": "cm",
"length": {
"value": 10.25,
"unit": "cm"
},
"width": {
"value": 10.25,
"unit": "cm"
},
"height": {
"value": 10.25,
"unit": "cm"
},
"loading_meters": 2.4,
"total_weight": {
"value": 350.25,
"unit": "kg"
},
"total_volume": {
"value": 10.25,
"unit": "m3"
},
"is_refrigerated": true,
"contains_lithium": true,
"contains_magnets": true,
"is_stackable": true
}
]
},
"goods_description": "Description of the shipped goods",
"transported_goods": {
"is_stackable": true,
"is_hazardous": false,
"hazardous_description": "UN1993",
"contains_lithium": false,
"lithium_packaging_type": "alone",
"contains_magnets": false,
"needs_controlled_temperature": false,
"temperature_range_description": "5-25°C"
},
"commercial_value": {
"amount": 150357.99,
"currency": "USD"
},
"cargo_value": {
"amount": 150357.99,
"currency": "USD"
},
"insurance_type": "not_insured",
"purchase_order_references": [
4500346155
],
"main_tracking_dates": {
"pickup_date": {
"date": "2021-09-20T10:02:09+01:00",
"status": "estimated"
},
"departure_date": {
"date": "2021-09-20T10:02:09+01:00",
"status": "estimated"
},
"arrival_date": {
"date": "2021-09-20T10:02:09+01:00",
"status": "estimated"
},
"delivery_date": {
"date": "2021-09-20T10:02:09+01:00",
"status": "estimated"
}
},
"booking_information": {
"carrier": "CMA CGM",
"master_bill": "LHV1190703558",
"house_bill": "HOUSEREF12357",
"ocean_booking": {
"booking_number": "TWLEH2106004",
"voyage": "033E",
"vessel": "CMA CGM Jacques Saadé",
"lcl_container_number": "MSCU1234567",
"cutoff": "2021-09-20T10:02:09+01:00",
"cfs_enclosure": "2021-09-20T10:02:09+01:00"
},
"air_booking": {
"flight_number": "AF256",
"chargeable_weight": {
"value": 350.25,
"unit": "kg"
},
"master_airway_bill": "<string>",
"house_airway_bill": "<string>",
"hle": "2021-09-20T10:02:09+01:00",
"securing": "cyno"
},
"rail_booking": {
"train_number": "X8020",
"lcl_container_number": "MSCU1234567",
"cutoff": "2021-09-20T10:02:09+01:00",
"cfs_enclosure": "2021-09-20T10:02:09+01:00"
},
"truck_booking": {
"loading_reference": "LOAD-2026-001",
"unloading_reference": "UNLOAD-2026-001",
"license_plate": "AB-123-CD"
},
"courier_booking": {
"tracking_number": "1Z999AA10123456784"
}
},
"invoice_status": "available",
"invoices": [
{
"number": "<string>",
"status": "available"
}
],
"invoice_references": [
"FAC2022-9567"
],
"accepted_quote": {
"id": "325",
"request_date": "2021-09-20T10:02:09+01:00",
"accepted_date": "2021-09-20T10:02:09+01:00"
}
}{}Fetch a shipment
Fetch a shipment given its OVRSEA shipment id
curl --request GET \
--url https://api.cf.ovrsea.com/v1/shipments/{ovrsea_shipment_id}import requests
url = "https://api.cf.ovrsea.com/v1/shipments/{ovrsea_shipment_id}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.cf.ovrsea.com/v1/shipments/{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/shipments/{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/shipments/{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/shipments/{ovrsea_shipment_id}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.cf.ovrsea.com/v1/shipments/{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{
"name": "June Air Export USA",
"ovrsea_shipment_id": "BB-BATD-5",
"status": "booking_request",
"created_at": "2021-09-20T10:02:09+01:00",
"incoterm": "fob",
"freight_mode": "air",
"load_type": "fcl",
"service": "chartering",
"truck_service": "ftl",
"truck_details": {
"body_type": "box",
"capacity": "mega",
"category": "crane_truck",
"special_equipments": [
"crane"
]
},
"freight_type": "port_to_door",
"route": {
"pickup_location_id": "23",
"origin_port_id": "123",
"origin_port_unlocode": "FR/FOS",
"destination_port_id": "456",
"destination_port_unlocode": "US/NYC",
"delivery_location_id": "45"
},
"cargo_ready_date": "2021-10-11",
"desired_delivery_date": "2021-10-11",
"specific_instructions": "<string>",
"cargo": {
"total_weight": {
"value": 350.25,
"unit": "kg"
},
"total_volume": {
"value": 10.25,
"unit": "m3"
},
"total_teus": 5,
"containers": [
{
"container_type": "twenty_foot_standard",
"container_number": "TEMU8667058",
"seal_number": 1332641,
"foodgrade": true,
"is_hazardous": true,
"hazardous_description": "UN1993",
"purchase_order_references": [
4500346155
]
}
],
"loads": [
{
"count": 3,
"is_hazardous": true,
"hazardous_description": "UN1993",
"type": "pallet",
"pallet_size": "120x80",
"weight": {
"value": 350.25,
"unit": "kg"
},
"volume_unit": "cm",
"length": {
"value": 10.25,
"unit": "cm"
},
"width": {
"value": 10.25,
"unit": "cm"
},
"height": {
"value": 10.25,
"unit": "cm"
},
"loading_meters": 2.4,
"total_weight": {
"value": 350.25,
"unit": "kg"
},
"total_volume": {
"value": 10.25,
"unit": "m3"
},
"is_refrigerated": true,
"contains_lithium": true,
"contains_magnets": true,
"is_stackable": true
}
]
},
"goods_description": "Description of the shipped goods",
"transported_goods": {
"is_stackable": true,
"is_hazardous": false,
"hazardous_description": "UN1993",
"contains_lithium": false,
"lithium_packaging_type": "alone",
"contains_magnets": false,
"needs_controlled_temperature": false,
"temperature_range_description": "5-25°C"
},
"commercial_value": {
"amount": 150357.99,
"currency": "USD"
},
"cargo_value": {
"amount": 150357.99,
"currency": "USD"
},
"insurance_type": "not_insured",
"purchase_order_references": [
4500346155
],
"main_tracking_dates": {
"pickup_date": {
"date": "2021-09-20T10:02:09+01:00",
"status": "estimated"
},
"departure_date": {
"date": "2021-09-20T10:02:09+01:00",
"status": "estimated"
},
"arrival_date": {
"date": "2021-09-20T10:02:09+01:00",
"status": "estimated"
},
"delivery_date": {
"date": "2021-09-20T10:02:09+01:00",
"status": "estimated"
}
},
"booking_information": {
"carrier": "CMA CGM",
"master_bill": "LHV1190703558",
"house_bill": "HOUSEREF12357",
"ocean_booking": {
"booking_number": "TWLEH2106004",
"voyage": "033E",
"vessel": "CMA CGM Jacques Saadé",
"lcl_container_number": "MSCU1234567",
"cutoff": "2021-09-20T10:02:09+01:00",
"cfs_enclosure": "2021-09-20T10:02:09+01:00"
},
"air_booking": {
"flight_number": "AF256",
"chargeable_weight": {
"value": 350.25,
"unit": "kg"
},
"master_airway_bill": "<string>",
"house_airway_bill": "<string>",
"hle": "2021-09-20T10:02:09+01:00",
"securing": "cyno"
},
"rail_booking": {
"train_number": "X8020",
"lcl_container_number": "MSCU1234567",
"cutoff": "2021-09-20T10:02:09+01:00",
"cfs_enclosure": "2021-09-20T10:02:09+01:00"
},
"truck_booking": {
"loading_reference": "LOAD-2026-001",
"unloading_reference": "UNLOAD-2026-001",
"license_plate": "AB-123-CD"
},
"courier_booking": {
"tracking_number": "1Z999AA10123456784"
}
},
"invoice_status": "available",
"invoices": [
{
"number": "<string>",
"status": "available"
}
],
"invoice_references": [
"FAC2022-9567"
],
"accepted_quote": {
"id": "325",
"request_date": "2021-09-20T10:02:09+01:00",
"accepted_date": "2021-09-20T10:02:09+01:00"
}
}{}Path Parameters
Response
Shipment found
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.
draft: Compatibility value for an unfinished record; this value is never returned.
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, draft, in_progress, arrived, finished, cancelled Summary computed by the platform over invoices attached directly to this shipment. It can differ from the preview invoices list, which contains invoices visible to the caller, including grouped invoices. The invoices list is the reference for each invoice's status.
available, awaiting_invoice, due, paid, partially_paid 