curl --request GET \
--url https://api.cf.ovrsea.com/v1/quote-requests/{id}import requests
url = "https://api.cf.ovrsea.com/v1/quote-requests/{id}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.cf.ovrsea.com/v1/quote-requests/{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/quote-requests/{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/quote-requests/{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/quote-requests/{id}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.cf.ovrsea.com/v1/quote-requests/{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{
"id": "<string>",
"name": "<string>",
"status": "accepted",
"service": "chartering",
"freight_mode": "air",
"load_type": "fcl",
"incoterm": "exw",
"cargo_ready_date": "2023-12-25",
"desired_delivery_date": "2023-12-25",
"route": {
"pickup_location_id": "<string>",
"origin_port_id": "<string>",
"destination_port_id": "<string>",
"delivery_location_id": "<string>"
},
"cargo": {
"total_weight": {
"value": 350.25,
"unit": "kg"
},
"total_volume": {
"value": 10.25,
"unit": "m3"
},
"containers": [
{
"container_type": "twenty_foot_standard",
"container_number": "TEMU8667058",
"seal_number": 1332641
}
],
"loads": [
{
"count": 3,
"type": "pallet",
"pallet_size": "120x80",
"weight": {
"value": 350.25,
"unit": "kg"
},
"length": {
"value": 10.25,
"unit": "cm"
},
"width": {
"value": 10.25,
"unit": "cm"
},
"height": {
"value": 10.25,
"unit": "cm"
}
}
]
},
"goods_description": "<string>",
"specific_instructions": "<string>",
"commercial_value": {
"amount": 150357.99,
"currency": "USD"
},
"insurance_type": "not_insured",
"urgent": true
}{
"code": "<string>",
"message": "<string>",
"field": "<string>",
"retry_after_seconds": 123
}{
"code": "<string>",
"message": "<string>",
"field": "<string>",
"retry_after_seconds": 123
}Fetch a quote request
Preview: Fetches one quote request by its customer-facing id.
curl --request GET \
--url https://api.cf.ovrsea.com/v1/quote-requests/{id}import requests
url = "https://api.cf.ovrsea.com/v1/quote-requests/{id}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.cf.ovrsea.com/v1/quote-requests/{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/quote-requests/{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/quote-requests/{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/quote-requests/{id}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.cf.ovrsea.com/v1/quote-requests/{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{
"id": "<string>",
"name": "<string>",
"status": "accepted",
"service": "chartering",
"freight_mode": "air",
"load_type": "fcl",
"incoterm": "exw",
"cargo_ready_date": "2023-12-25",
"desired_delivery_date": "2023-12-25",
"route": {
"pickup_location_id": "<string>",
"origin_port_id": "<string>",
"destination_port_id": "<string>",
"delivery_location_id": "<string>"
},
"cargo": {
"total_weight": {
"value": 350.25,
"unit": "kg"
},
"total_volume": {
"value": 10.25,
"unit": "m3"
},
"containers": [
{
"container_type": "twenty_foot_standard",
"container_number": "TEMU8667058",
"seal_number": 1332641
}
],
"loads": [
{
"count": 3,
"type": "pallet",
"pallet_size": "120x80",
"weight": {
"value": 350.25,
"unit": "kg"
},
"length": {
"value": 10.25,
"unit": "cm"
},
"width": {
"value": 10.25,
"unit": "cm"
},
"height": {
"value": 10.25,
"unit": "cm"
}
}
]
},
"goods_description": "<string>",
"specific_instructions": "<string>",
"commercial_value": {
"amount": 150357.99,
"currency": "USD"
},
"insurance_type": "not_insured",
"urgent": true
}{
"code": "<string>",
"message": "<string>",
"field": "<string>",
"retry_after_seconds": 123
}{
"code": "<string>",
"message": "<string>",
"field": "<string>",
"retry_after_seconds": 123
}Response
Preview: The quote request.
Preview: Quote request visible to the customer.
Preview: Quote-request lifecycle status, with one public value for each platform status.
draft: the request is being prepared. Leaving draft or cancelling the request changes this value.
awaiting_quote: the request has no customer-visible quote yet. A sent quote, acceptance or cancellation changes this value.
quote_sent: at least one customer-visible quote was sent. Acceptance or cancellation changes this value; for a request that remains open, further quotes keep it, while all visible quotes being declined or expiring can change it.
accepted: a quote was accepted or the request became a shipment. Cancelling that shipment changes this value to cancelled.
declined: every customer-visible quote was declined. A newly sent customer-visible quote changes this value to quote_sent, and cancellation changes it to cancelled.
expired: every customer-visible quote expired. A newly sent customer-visible quote changes this value to quote_sent, and cancellation changes it to cancelled.
cancelled: the request was cancelled. Clearing its cancellation lets the platform recalculate the request or shipment status.
Further values may be added. Clients should handle an unknown value as an unrecognized status.
accepted, awaiting_quote, cancelled, declined, draft, expired, quote_sent 