Discussions
Request a rate
{
"origin_address":
{
"line_1": "9J5J+53C, 03, First Floor",
"line_2": "Kamla Arcade, Ajmer Rd",
"state": "Rajasthan",
"city": "Bhilwara",
"postal_code": "311001"
},
"destination_address": {
"destination_address" : "19, Jhalawar Road Gumanpura",
"state": "Rajasthan",
"city": "Kota",
"postal_code": "324007",
"country_alpha2" : "IN"
},
"origin_postal_code": "WC2N",
"destination_country_alpha2": "US",
"destination_postal_code": "10030",
"taxes_duties_paid_by": "Sender",
"is_insured": false,
"parcels": [
{
"items": [
{
"actual_weight": 1.2,
"dimensions.height": 10,
"dimensions.width": 15,
"dimensions.length": 20,
"category": "mobiles",
"declared_currency": "SGD",
"declared_customs_value": 100
}
]
}
]
}
{
"error": {
"code": "invalid_content",
"details": [
"parcels[0].items[0].dimensions can't be blank",
"parcels[0].items[0].dimensions is not a valid JSON format",
"parcels[0].items[0].dimensions.length can't be blank",
"parcels[0].items[0].dimensions.width can't be blank",
"parcels[0].items[0].dimensions.height can't be blank"
],
"message": "The request body content is not valid.",
"request_id": "19ee93d753108686d46c94a1c7113e83",
"type": "invalid_request_error"
}
}