List quotes for a quote request
curl --request GET \
--url https://api.cf.ovrsea.com/v1/quote-requests/{id}/quotesimport requests
url = "https://api.cf.ovrsea.com/v1/quote-requests/{id}/quotes"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.cf.ovrsea.com/v1/quote-requests/{id}/quotes', 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}/quotes",
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}/quotes"
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}/quotes")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.cf.ovrsea.com/v1/quote-requests/{id}/quotes")
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{
"items": [
{
"id": "<string>",
"number": 123,
"status": "accepted",
"is_expired": true,
"is_nra": true,
"total_price": {
"amount": 150357.99,
"currency": "USD"
},
"charges": [
{
"id": "<string>",
"number": 123,
"category": "arrival_customs",
"name": "<string>",
"unit_price": {
"amount": 150357.99,
"currency": "USD"
},
"quantity": 123,
"unit": "cargaison_value",
"container_type": "twenty_foot_standard"
}
],
"carrier": {
"id": "<string>",
"name": "<string>"
},
"freight_mode": "air",
"load_type": "fcl",
"route": {
"via_port_ids": [
"<string>"
],
"pickup_location_id": "<string>",
"origin_port_id": "<string>",
"destination_port_id": "<string>",
"delivery_location_id": "<string>"
},
"transit_time": {
"value": 123,
"unit": "days"
},
"door_to_port_transit_days": 123,
"port_to_door_transit_days": 123,
"first_departure_date": "2023-12-25",
"second_departure_date": "2023-12-25",
"validity_date": "2023-12-25",
"free_time_at_destination_days": 123,
"disclaimers": [
"<string>"
],
"incoterm": "exw",
"sent_at": "2021-09-20T10:02:09+01:00",
"accepted_at": "2021-09-20T10:02:09+01:00",
"declined_at": "2021-09-20T10:02:09+01:00",
"comment": "<string>"
}
],
"total": 123
}{
"code": "<string>",
"message": "<string>",
"field": "<string>",
"retry_after_seconds": 123
}{
"code": "<string>",
"message": "<string>",
"field": "<string>",
"retry_after_seconds": 123
}{
"code": "<string>",
"message": "<string>",
"field": "<string>",
"retry_after_seconds": 123
}{
"code": "<string>",
"message": "<string>",
"field": "<string>",
"retry_after_seconds": 123
}{
"code": "<string>",
"message": "<string>",
"field": "<string>",
"retry_after_seconds": 123
}Quote requests
List quotes for a quote request
Preview: Lists customer-visible quotes for one quote request, ordered by quote number.
List quotes for a quote request
curl --request GET \
--url https://api.cf.ovrsea.com/v1/quote-requests/{id}/quotesimport requests
url = "https://api.cf.ovrsea.com/v1/quote-requests/{id}/quotes"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.cf.ovrsea.com/v1/quote-requests/{id}/quotes', 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}/quotes",
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}/quotes"
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}/quotes")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.cf.ovrsea.com/v1/quote-requests/{id}/quotes")
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{
"items": [
{
"id": "<string>",
"number": 123,
"status": "accepted",
"is_expired": true,
"is_nra": true,
"total_price": {
"amount": 150357.99,
"currency": "USD"
},
"charges": [
{
"id": "<string>",
"number": 123,
"category": "arrival_customs",
"name": "<string>",
"unit_price": {
"amount": 150357.99,
"currency": "USD"
},
"quantity": 123,
"unit": "cargaison_value",
"container_type": "twenty_foot_standard"
}
],
"carrier": {
"id": "<string>",
"name": "<string>"
},
"freight_mode": "air",
"load_type": "fcl",
"route": {
"via_port_ids": [
"<string>"
],
"pickup_location_id": "<string>",
"origin_port_id": "<string>",
"destination_port_id": "<string>",
"delivery_location_id": "<string>"
},
"transit_time": {
"value": 123,
"unit": "days"
},
"door_to_port_transit_days": 123,
"port_to_door_transit_days": 123,
"first_departure_date": "2023-12-25",
"second_departure_date": "2023-12-25",
"validity_date": "2023-12-25",
"free_time_at_destination_days": 123,
"disclaimers": [
"<string>"
],
"incoterm": "exw",
"sent_at": "2021-09-20T10:02:09+01:00",
"accepted_at": "2021-09-20T10:02:09+01:00",
"declined_at": "2021-09-20T10:02:09+01:00",
"comment": "<string>"
}
],
"total": 123
}{
"code": "<string>",
"message": "<string>",
"field": "<string>",
"retry_after_seconds": 123
}{
"code": "<string>",
"message": "<string>",
"field": "<string>",
"retry_after_seconds": 123
}{
"code": "<string>",
"message": "<string>",
"field": "<string>",
"retry_after_seconds": 123
}{
"code": "<string>",
"message": "<string>",
"field": "<string>",
"retry_after_seconds": 123
}{
"code": "<string>",
"message": "<string>",
"field": "<string>",
"retry_after_seconds": 123
}