compare_shipping_prices
Compare shipping prices across carriers for a given package and route.
Parameters6
| from_country | string | required | Origin country ISO code. Supported: AT, BE, BG, CY, CZ, DE, DK, EE, ES, FI, FR, GR, HR, HU, IE, IT, LT, LU, LV, MT, NL, PL, PT, RO, SE, SI, SK |
| to_country | string | required | Destination country ISO code (any ISO 3166-1 alpha-2 code) |
| weight_kg | number | required | Package weight in kilograms |
| length_cm | number | required | Longest side of the package in centimetres |
| width_cm | number | required | Middle side of the package in centimetres |
| height_cm | number | required | Shortest side of the package in centimetres |
Raw schema
{
"type": "object",
"properties": {
"from_country": {
"type": "string",
"description": "Origin country ISO code. Supported: AT, BE, BG, CY, CZ, DE, DK, EE, ES, FI, FR, GR, HR, HU, IE, IT, LT, LU, LV, MT, NL, PL, PT, RO, SE, SI, SK"
},
"to_country": {
"type": "string",
"description": "Destination country ISO code (any ISO 3166-1 alpha-2 code)"
},
"weight_kg": {
"type": "number",
"exclusiveMinimum": 0,
"description": "Package weight in kilograms"
},
"length_cm": {
"type": "number",
"exclusiveMinimum": 0,
"description": "Longest side of the package in centimetres"
},
"width_cm": {
"type": "number",
"exclusiveMinimum": 0,
"description": "Middle side of the package in centimetres"
},
"height_cm": {
"type": "number",
"exclusiveMinimum": 0,
"description": "Shortest side of the package in centimetres"
}
},
"required": [
"from_country",
"to_country",
"weight_kg",
"length_cm",
"width_cm",
"height_cm"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}