curl --request GET \
--url https://panel.sendcloud.sc/api/v2/shipping-products \
--header 'Authorization: Basic <encoded-value>'import requests
url = "https://panel.sendcloud.sc/api/v2/shipping-products"
headers = {"Authorization": "Basic <encoded-value>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Basic <encoded-value>'}};
fetch('https://panel.sendcloud.sc/api/v2/shipping-products', 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://panel.sendcloud.sc/api/v2/shipping-products",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Basic <encoded-value>"
],
]);
$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://panel.sendcloud.sc/api/v2/shipping-products"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Basic <encoded-value>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://panel.sendcloud.sc/api/v2/shipping-products")
.header("Authorization", "Basic <encoded-value>")
.asString();require 'uri'
require 'net/http'
url = URI("https://panel.sendcloud.sc/api/v2/shipping-products")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Basic <encoded-value>'
response = http.request(request)
puts response.read_body[
{
"name": "PostNL Standard",
"code": "postnl:standard",
"carrier": "postnl",
"service_points_carrier": "postnl",
"weight_range": {
"min_weight": 1,
"max_weight": 31500
},
"available_functionalities": {
"age_check": [
null,
18
],
"b2b": [
false
],
"b2c": [
false
],
"boxable": [
false
],
"bulky_goods": [
false
],
"carrier_billing_type": [
null
],
"cash_on_delivery": [
null
],
"dangerous_goods": [
false
],
"delivery_attempts": [
null
],
"delivery_before": [
null
],
"delivery_deadline": [
"best_effort"
],
"direct_contract_only": [
false
],
"eco_delivery": [
false
],
"first_mile": [
"pickup_dropoff"
],
"flex_delivery": [
false
],
"form_factor": [
"parcel"
],
"fragile_goods": [
false
],
"fresh_goods": [
false
],
"harmonized_label": [
false
],
"id_check": [
false
],
"incoterm": [
null
],
"insurance": [
null,
4000,
2500,
1000,
5000,
3500,
2000,
4500,
500,
2300,
3000,
1500
],
"last_mile": [
"home_delivery"
],
"manually": [
false
],
"multicollo": [
true
],
"neighbor_delivery": [
false,
true
],
"non_conveyable": [
false
],
"personalized_delivery": [
false
],
"premium": [
false
],
"priority": [
null
],
"registered_delivery": [
false
],
"returns": [
false
],
"segment": [
null
],
"service_area": [
"domestic"
],
"signature": [
false,
true
],
"size": [
null
],
"sorted": [
false
],
"surcharge": [
false
],
"tracked": [
true
],
"tyres": [
false
],
"weekend_delivery": [
"saturday"
],
"labelless": [
false
],
"ers": [
false
]
},
"methods": [
{
"id": 2368,
"name": "PostNL Standard 0-23kg",
"functionalities": {
"neighbor_delivery": true,
"weekend_delivery": "saturday"
},
"shipping_product_code": "postnl:standard",
"properties": {
"min_weight": 1,
"max_weight": 23000,
"max_dimensions": {
"length": 100,
"width": 70,
"height": 58,
"unit": "centimeter"
}
},
"lead_time_hours": {
"NL": {
"NL": 24
}
}
},
{
"id": 2373,
"name": "PostNL Standard 23-31.5kg",
"functionalities": {
"neighbor_delivery": true,
"weekend_delivery": "saturday"
},
"shipping_product_code": "postnl:standard",
"properties": {
"min_weight": 23000,
"max_weight": 31500,
"max_dimensions": {
"length": 175,
"width": 78,
"height": 58,
"unit": "centimeter"
}
},
"lead_time_hours": {
"NL": {
"NL": 24
}
}
},
{
"id": 2313,
"name": "PostNL age check 0-23kg",
"functionalities": {
"age_check": 18,
"neighbor_delivery": true,
"weekend_delivery": "saturday"
},
"shipping_product_code": "postnl:standard",
"properties": {
"min_weight": 1,
"max_weight": 23001,
"max_dimensions": {
"length": 100,
"width": 70,
"height": 58,
"unit": "centimeter"
}
},
"lead_time_hours": {
"NL": {
"NL": 24
}
}
},
{
"id": 2322,
"name": "PostNL evening delivery + home address only 0-23kg",
"functionalities": {
"delivery_before": "2000",
"tracked": true,
"weekend_delivery": "saturday"
},
"shipping_product_code": "postnl:standard",
"properties": {
"min_weight": 1,
"max_weight": 23000,
"max_dimensions": {
"length": 100,
"width": 70,
"height": 58,
"unit": "centimeter"
}
},
"lead_time_hours": {
"NL": {
"NL": 24
}
}
}
]
}
]Retrieve a list of shipping products
Retrieve a list of shipping methods that are associated with your account, filtered by specific criteria such as parcel dimensions, weight classes, from and to country and shipping functionality.
curl --request GET \
--url https://panel.sendcloud.sc/api/v2/shipping-products \
--header 'Authorization: Basic <encoded-value>'import requests
url = "https://panel.sendcloud.sc/api/v2/shipping-products"
headers = {"Authorization": "Basic <encoded-value>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Basic <encoded-value>'}};
fetch('https://panel.sendcloud.sc/api/v2/shipping-products', 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://panel.sendcloud.sc/api/v2/shipping-products",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Basic <encoded-value>"
],
]);
$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://panel.sendcloud.sc/api/v2/shipping-products"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Basic <encoded-value>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://panel.sendcloud.sc/api/v2/shipping-products")
.header("Authorization", "Basic <encoded-value>")
.asString();require 'uri'
require 'net/http'
url = URI("https://panel.sendcloud.sc/api/v2/shipping-products")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Basic <encoded-value>'
response = http.request(request)
puts response.read_body[
{
"name": "PostNL Standard",
"code": "postnl:standard",
"carrier": "postnl",
"service_points_carrier": "postnl",
"weight_range": {
"min_weight": 1,
"max_weight": 31500
},
"available_functionalities": {
"age_check": [
null,
18
],
"b2b": [
false
],
"b2c": [
false
],
"boxable": [
false
],
"bulky_goods": [
false
],
"carrier_billing_type": [
null
],
"cash_on_delivery": [
null
],
"dangerous_goods": [
false
],
"delivery_attempts": [
null
],
"delivery_before": [
null
],
"delivery_deadline": [
"best_effort"
],
"direct_contract_only": [
false
],
"eco_delivery": [
false
],
"first_mile": [
"pickup_dropoff"
],
"flex_delivery": [
false
],
"form_factor": [
"parcel"
],
"fragile_goods": [
false
],
"fresh_goods": [
false
],
"harmonized_label": [
false
],
"id_check": [
false
],
"incoterm": [
null
],
"insurance": [
null,
4000,
2500,
1000,
5000,
3500,
2000,
4500,
500,
2300,
3000,
1500
],
"last_mile": [
"home_delivery"
],
"manually": [
false
],
"multicollo": [
true
],
"neighbor_delivery": [
false,
true
],
"non_conveyable": [
false
],
"personalized_delivery": [
false
],
"premium": [
false
],
"priority": [
null
],
"registered_delivery": [
false
],
"returns": [
false
],
"segment": [
null
],
"service_area": [
"domestic"
],
"signature": [
false,
true
],
"size": [
null
],
"sorted": [
false
],
"surcharge": [
false
],
"tracked": [
true
],
"tyres": [
false
],
"weekend_delivery": [
"saturday"
],
"labelless": [
false
],
"ers": [
false
]
},
"methods": [
{
"id": 2368,
"name": "PostNL Standard 0-23kg",
"functionalities": {
"neighbor_delivery": true,
"weekend_delivery": "saturday"
},
"shipping_product_code": "postnl:standard",
"properties": {
"min_weight": 1,
"max_weight": 23000,
"max_dimensions": {
"length": 100,
"width": 70,
"height": 58,
"unit": "centimeter"
}
},
"lead_time_hours": {
"NL": {
"NL": 24
}
}
},
{
"id": 2373,
"name": "PostNL Standard 23-31.5kg",
"functionalities": {
"neighbor_delivery": true,
"weekend_delivery": "saturday"
},
"shipping_product_code": "postnl:standard",
"properties": {
"min_weight": 23000,
"max_weight": 31500,
"max_dimensions": {
"length": 175,
"width": 78,
"height": 58,
"unit": "centimeter"
}
},
"lead_time_hours": {
"NL": {
"NL": 24
}
}
},
{
"id": 2313,
"name": "PostNL age check 0-23kg",
"functionalities": {
"age_check": 18,
"neighbor_delivery": true,
"weekend_delivery": "saturday"
},
"shipping_product_code": "postnl:standard",
"properties": {
"min_weight": 1,
"max_weight": 23001,
"max_dimensions": {
"length": 100,
"width": 70,
"height": 58,
"unit": "centimeter"
}
},
"lead_time_hours": {
"NL": {
"NL": 24
}
}
},
{
"id": 2322,
"name": "PostNL evening delivery + home address only 0-23kg",
"functionalities": {
"delivery_before": "2000",
"tracked": true,
"weekend_delivery": "saturday"
},
"shipping_product_code": "postnl:standard",
"properties": {
"min_weight": 1,
"max_weight": 23000,
"max_dimensions": {
"length": 100,
"width": 70,
"height": 58,
"unit": "centimeter"
}
},
"lead_time_hours": {
"NL": {
"NL": 24
}
}
}
]
}
]read:shipping-method. See Scopes for OAuth apps.id of any suitable methods, which you can then use with the Create a parcel or parcels endpoint and announce the shipment directly.
contract attribute with your desired contract ID in your request. You can get your contract ID from the Retrieve a list of contracts endpoint.from_postal_code and to_postal_code query parameters.shipping_functionality, you can find a glossary of accepted values and a description of each functionality under the Retrieve a list of shipping functionalities endpoint.Use cases
Find a shipping method for a parcel weighing 5kg, shipping from the Netherlands to the United States with carrier PostNL.GET https://panel.sendcloud.sc/api/v2/shipping-products?from_country=NL&to_country=US&carrier=postnl&weight=5&weight_unit=kilogram
GET https://panel.sendcloud.sc/api/v2/shipping-products?from_country=NL&to_country=BE&age_check=18
GET https://panel.sendcloud.sc/api/v2/shipping-products?from_country=NL&to_country=NL&delivery_deadline=sameday
GET https://panel.sendcloud.sc/api/v2/shipping-products?from_country=FR&to_country=NL&returns=true
Authorizations
Query Parameters
A country ISO 2 code for the recipient country. Required if the carrier is zonal or contract_pricing parameter is provided.
A country represented by its ISO 3166-1 alpha-2 code
AW, AF, AO, AI, AX, AL, AD, AE, AR, AM, AS, AQ, TF, AG, AU, AT, AZ, BI, BE, BJ, BQ, BF, BD, BG, BH, BS, BA, BL, BY, BZ, BM, BO, BR, BB, BN, BT, BV, BW, CF, CA, CC, CH, CL, CN, CI, CM, CD, CG, CK, CO, KM, CV, CR, CU, CW, CX, KY, CY, CZ, DE, DJ, DM, DK, DO, DZ, EC, EG, ER, EH, ES, EE, ET, FI, FJ, FK, FR, FO, FM, GA, GB, GE, GG, GH, GI, GN, GP, GM, GW, GQ, GR, GD, GL, GT, GF, GU, GY, HK, HM, HN, HR, HT, HU, ID, IM, IN, IO, IE, IR, IQ, IS, IL, IT, JM, JE, JO, JP, KZ, KE, KG, KH, KI, KN, KR, KW, LA, LB, LR, LY, LC, LI, LK, LS, LT, LU, LV, MO, MF, MA, MC, MD, MG, MV, MX, MH, MK, ML, MT, MM, ME, MN, MP, MZ, MR, MS, MQ, MU, MW, MY, YT, NA, NC, NE, NF, NG, NI, NU, NL, NO, NP, NR, NZ, OM, PK, PA, PN, PE, PH, PW, PG, PL, PR, KP, PT, PY, PS, PF, QA, RE, RO, RU, RW, SA, SD, SN, SG, GS, SH, SJ, SB, SL, SV, SM, SO, PM, RS, SS, ST, SR, SK, SI, SE, SZ, SX, SC, SY, TC, TD, TG, TH, TJ, TK, TM, TL, TO, TT, TN, TR, TV, TW, TZ, UG, UA, UM, UY, US, UZ, VA, VC, VE, VG, VI, VN, VU, WF, WS, YE, ZA, ZM, ZW, IC, XK "NL"
The contract id used for shipping product/method filtering. It has a similar effect as using the carrier parameter.
If the contract_pricing parameter is used, the carrier is used to provide the correct contract pricing.
Only required if multiple contract prices exist for the same shipping method.
123
Filters shipping products (rather its associated shipping methods) by their transit time. This is the estimated time a shipment takes between a parcel is being picked up by a carrier and it reaching its destination. This parameter supports comparison operators (e.g. lead_time_hours[gte]=12 for filtering out shipments that have less than 12 hours transit time or lead_time_hours[gte=24]&lead_time_hours[lte]=48 for only including shipping products whose methods have a transit time between 24 and 48 hours). Available operators are “eq” (equal), “gt” (greater than), “lt” (less than), “gte” (greater than or equal), and “lte” (less than or equal).
24
Response
A list of shipping products the user has access to.