Request a quote
curl --request POST \
--url https://api.cf.ovrsea.com/v1/quote-requests \
--header 'Content-Type: application/json' \
--data '
{
"needs_ad_valorem_insurance": true,
"route": {
"delivery_location_id": "45",
"delivery_port_id": "2",
"pickup_location_id": "23",
"pickup_port_id": "1"
},
"cargo": {
"containers": [
{
"count": 2
}
],
"loads": [
{
"count": 4,
"total_volume": 3840000,
"total_weight": 1200
}
]
},
"cargo_ready_date": "2027-03-01",
"desired_delivery_date": "2027-04-15",
"incoterm": "fob",
"name": "June Air Export USA",
"specific_instructions": "Call the warehouse before delivery",
"transported_goods": {
"goods_description": "Ceramic tiles"
},
"urgent": true
}
'import requests
url = "https://api.cf.ovrsea.com/v1/quote-requests"
payload = {
"needs_ad_valorem_insurance": True,
"route": {
"delivery_location_id": "45",
"delivery_port_id": "2",
"pickup_location_id": "23",
"pickup_port_id": "1"
},
"cargo": {
"containers": [{ "count": 2 }],
"loads": [
{
"count": 4,
"total_volume": 3840000,
"total_weight": 1200
}
]
},
"cargo_ready_date": "2027-03-01",
"desired_delivery_date": "2027-04-15",
"incoterm": "fob",
"name": "June Air Export USA",
"specific_instructions": "Call the warehouse before delivery",
"transported_goods": { "goods_description": "Ceramic tiles" },
"urgent": True
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
needs_ad_valorem_insurance: true,
route: {
delivery_location_id: '45',
delivery_port_id: '2',
pickup_location_id: '23',
pickup_port_id: '1'
},
cargo: {
containers: [{count: 2}],
loads: [{count: 4, total_volume: 3840000, total_weight: 1200}]
},
cargo_ready_date: '2027-03-01',
desired_delivery_date: '2027-04-15',
incoterm: 'fob',
name: 'June Air Export USA',
specific_instructions: 'Call the warehouse before delivery',
transported_goods: {goods_description: 'Ceramic tiles'},
urgent: true
})
};
fetch('https://api.cf.ovrsea.com/v1/quote-requests', 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",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'needs_ad_valorem_insurance' => true,
'route' => [
'delivery_location_id' => '45',
'delivery_port_id' => '2',
'pickup_location_id' => '23',
'pickup_port_id' => '1'
],
'cargo' => [
'containers' => [
[
'count' => 2
]
],
'loads' => [
[
'count' => 4,
'total_volume' => 3840000,
'total_weight' => 1200
]
]
],
'cargo_ready_date' => '2027-03-01',
'desired_delivery_date' => '2027-04-15',
'incoterm' => 'fob',
'name' => 'June Air Export USA',
'specific_instructions' => 'Call the warehouse before delivery',
'transported_goods' => [
'goods_description' => 'Ceramic tiles'
],
'urgent' => true
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.cf.ovrsea.com/v1/quote-requests"
payload := strings.NewReader("{\n \"needs_ad_valorem_insurance\": true,\n \"route\": {\n \"delivery_location_id\": \"45\",\n \"delivery_port_id\": \"2\",\n \"pickup_location_id\": \"23\",\n \"pickup_port_id\": \"1\"\n },\n \"cargo\": {\n \"containers\": [\n {\n \"count\": 2\n }\n ],\n \"loads\": [\n {\n \"count\": 4,\n \"total_volume\": 3840000,\n \"total_weight\": 1200\n }\n ]\n },\n \"cargo_ready_date\": \"2027-03-01\",\n \"desired_delivery_date\": \"2027-04-15\",\n \"incoterm\": \"fob\",\n \"name\": \"June Air Export USA\",\n \"specific_instructions\": \"Call the warehouse before delivery\",\n \"transported_goods\": {\n \"goods_description\": \"Ceramic tiles\"\n },\n \"urgent\": true\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.cf.ovrsea.com/v1/quote-requests")
.header("Content-Type", "application/json")
.body("{\n \"needs_ad_valorem_insurance\": true,\n \"route\": {\n \"delivery_location_id\": \"45\",\n \"delivery_port_id\": \"2\",\n \"pickup_location_id\": \"23\",\n \"pickup_port_id\": \"1\"\n },\n \"cargo\": {\n \"containers\": [\n {\n \"count\": 2\n }\n ],\n \"loads\": [\n {\n \"count\": 4,\n \"total_volume\": 3840000,\n \"total_weight\": 1200\n }\n ]\n },\n \"cargo_ready_date\": \"2027-03-01\",\n \"desired_delivery_date\": \"2027-04-15\",\n \"incoterm\": \"fob\",\n \"name\": \"June Air Export USA\",\n \"specific_instructions\": \"Call the warehouse before delivery\",\n \"transported_goods\": {\n \"goods_description\": \"Ceramic tiles\"\n },\n \"urgent\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.cf.ovrsea.com/v1/quote-requests")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"needs_ad_valorem_insurance\": true,\n \"route\": {\n \"delivery_location_id\": \"45\",\n \"delivery_port_id\": \"2\",\n \"pickup_location_id\": \"23\",\n \"pickup_port_id\": \"1\"\n },\n \"cargo\": {\n \"containers\": [\n {\n \"count\": 2\n }\n ],\n \"loads\": [\n {\n \"count\": 4,\n \"total_volume\": 3840000,\n \"total_weight\": 1200\n }\n ]\n },\n \"cargo_ready_date\": \"2027-03-01\",\n \"desired_delivery_date\": \"2027-04-15\",\n \"incoterm\": \"fob\",\n \"name\": \"June Air Export USA\",\n \"specific_instructions\": \"Call the warehouse before delivery\",\n \"transported_goods\": {\n \"goods_description\": \"Ceramic tiles\"\n },\n \"urgent\": true\n}"
response = http.request(request)
puts response.read_body{
"ovrsea_quote_request_id": "CDEF"
}"<string>""<string>"Quote requests
Request a quote
Requests a quote for the account between locations or ports.
Request a quote
curl --request POST \
--url https://api.cf.ovrsea.com/v1/quote-requests \
--header 'Content-Type: application/json' \
--data '
{
"needs_ad_valorem_insurance": true,
"route": {
"delivery_location_id": "45",
"delivery_port_id": "2",
"pickup_location_id": "23",
"pickup_port_id": "1"
},
"cargo": {
"containers": [
{
"count": 2
}
],
"loads": [
{
"count": 4,
"total_volume": 3840000,
"total_weight": 1200
}
]
},
"cargo_ready_date": "2027-03-01",
"desired_delivery_date": "2027-04-15",
"incoterm": "fob",
"name": "June Air Export USA",
"specific_instructions": "Call the warehouse before delivery",
"transported_goods": {
"goods_description": "Ceramic tiles"
},
"urgent": true
}
'import requests
url = "https://api.cf.ovrsea.com/v1/quote-requests"
payload = {
"needs_ad_valorem_insurance": True,
"route": {
"delivery_location_id": "45",
"delivery_port_id": "2",
"pickup_location_id": "23",
"pickup_port_id": "1"
},
"cargo": {
"containers": [{ "count": 2 }],
"loads": [
{
"count": 4,
"total_volume": 3840000,
"total_weight": 1200
}
]
},
"cargo_ready_date": "2027-03-01",
"desired_delivery_date": "2027-04-15",
"incoterm": "fob",
"name": "June Air Export USA",
"specific_instructions": "Call the warehouse before delivery",
"transported_goods": { "goods_description": "Ceramic tiles" },
"urgent": True
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
needs_ad_valorem_insurance: true,
route: {
delivery_location_id: '45',
delivery_port_id: '2',
pickup_location_id: '23',
pickup_port_id: '1'
},
cargo: {
containers: [{count: 2}],
loads: [{count: 4, total_volume: 3840000, total_weight: 1200}]
},
cargo_ready_date: '2027-03-01',
desired_delivery_date: '2027-04-15',
incoterm: 'fob',
name: 'June Air Export USA',
specific_instructions: 'Call the warehouse before delivery',
transported_goods: {goods_description: 'Ceramic tiles'},
urgent: true
})
};
fetch('https://api.cf.ovrsea.com/v1/quote-requests', 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",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'needs_ad_valorem_insurance' => true,
'route' => [
'delivery_location_id' => '45',
'delivery_port_id' => '2',
'pickup_location_id' => '23',
'pickup_port_id' => '1'
],
'cargo' => [
'containers' => [
[
'count' => 2
]
],
'loads' => [
[
'count' => 4,
'total_volume' => 3840000,
'total_weight' => 1200
]
]
],
'cargo_ready_date' => '2027-03-01',
'desired_delivery_date' => '2027-04-15',
'incoterm' => 'fob',
'name' => 'June Air Export USA',
'specific_instructions' => 'Call the warehouse before delivery',
'transported_goods' => [
'goods_description' => 'Ceramic tiles'
],
'urgent' => true
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.cf.ovrsea.com/v1/quote-requests"
payload := strings.NewReader("{\n \"needs_ad_valorem_insurance\": true,\n \"route\": {\n \"delivery_location_id\": \"45\",\n \"delivery_port_id\": \"2\",\n \"pickup_location_id\": \"23\",\n \"pickup_port_id\": \"1\"\n },\n \"cargo\": {\n \"containers\": [\n {\n \"count\": 2\n }\n ],\n \"loads\": [\n {\n \"count\": 4,\n \"total_volume\": 3840000,\n \"total_weight\": 1200\n }\n ]\n },\n \"cargo_ready_date\": \"2027-03-01\",\n \"desired_delivery_date\": \"2027-04-15\",\n \"incoterm\": \"fob\",\n \"name\": \"June Air Export USA\",\n \"specific_instructions\": \"Call the warehouse before delivery\",\n \"transported_goods\": {\n \"goods_description\": \"Ceramic tiles\"\n },\n \"urgent\": true\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.cf.ovrsea.com/v1/quote-requests")
.header("Content-Type", "application/json")
.body("{\n \"needs_ad_valorem_insurance\": true,\n \"route\": {\n \"delivery_location_id\": \"45\",\n \"delivery_port_id\": \"2\",\n \"pickup_location_id\": \"23\",\n \"pickup_port_id\": \"1\"\n },\n \"cargo\": {\n \"containers\": [\n {\n \"count\": 2\n }\n ],\n \"loads\": [\n {\n \"count\": 4,\n \"total_volume\": 3840000,\n \"total_weight\": 1200\n }\n ]\n },\n \"cargo_ready_date\": \"2027-03-01\",\n \"desired_delivery_date\": \"2027-04-15\",\n \"incoterm\": \"fob\",\n \"name\": \"June Air Export USA\",\n \"specific_instructions\": \"Call the warehouse before delivery\",\n \"transported_goods\": {\n \"goods_description\": \"Ceramic tiles\"\n },\n \"urgent\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.cf.ovrsea.com/v1/quote-requests")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"needs_ad_valorem_insurance\": true,\n \"route\": {\n \"delivery_location_id\": \"45\",\n \"delivery_port_id\": \"2\",\n \"pickup_location_id\": \"23\",\n \"pickup_port_id\": \"1\"\n },\n \"cargo\": {\n \"containers\": [\n {\n \"count\": 2\n }\n ],\n \"loads\": [\n {\n \"count\": 4,\n \"total_volume\": 3840000,\n \"total_weight\": 1200\n }\n ]\n },\n \"cargo_ready_date\": \"2027-03-01\",\n \"desired_delivery_date\": \"2027-04-15\",\n \"incoterm\": \"fob\",\n \"name\": \"June Air Export USA\",\n \"specific_instructions\": \"Call the warehouse before delivery\",\n \"transported_goods\": {\n \"goods_description\": \"Ceramic tiles\"\n },\n \"urgent\": true\n}"
response = http.request(request)
puts response.read_body{
"ovrsea_quote_request_id": "CDEF"
}"<string>""<string>"Body
application/json
