POST /api/CourierRate
Content-Type: application/json
{
"branch": "SLSB",
"courierService": "DHL",
"importExport": "import",
"fromCountry": "IN",
"fromPostalCode": "600091",
"fromCity": "Chennai",
"toCountry": "SG",
"toPostalCode": "639105",
"toCity": "",
"items": [
{
"numberOfGroup": 1,
"lengthInCM": 10,
"widthInCM": 10,
"heightInCM": 10,
"weightInKg": 20
}
]
}
{
"success": true,
"data": [
{
"serviceType": "N/A",
"shipCharges": "190.370",
"transist": "5 Working Days",
"currency": "SGD",
"message": null,
"error": null
}
],
"errors": null,
"warnings": null
}
{
"success": true,
"data": [
{
"serviceType": "FEDEX_INTERNATIONAL_PRIORITY",
"shipCharges": "248.98",
"transist": "",
"currency": "SGD",
"message": null,
"error": null
},
{
"serviceType": "INTERNATIONAL_ECONOMY",
"shipCharges": "244.2",
"transist": "",
"currency": "SGD",
"message": null,
"error": null
},
{
"serviceType": "FEDEX_INTERNATIONAL_CONNECT_PLUS",
"shipCharges": "1010.09",
"transist": "",
"currency": "SGD",
"message": null,
"error": null
}
],
"errors": null,
"warnings": null
}
{
"success": false,
"data": null,
"errors": [
{
"code": "E02",
"error_message": "Postcode not found. Expected formats: "
}
],
"warnings": null
}
{
"success": false,
"data": null,
"errors": [
{
"code": "E02",
"error_message": "The location information is missing. At least one attribute post code, city name or suburb name should be provided"
}
],
"warnings": null
}
branch: Branch code (e.g. "SLSB")courierService: Must be DHL or FEDEXimportExport: Must be Import or ExportfromCity: Required if importExport is "Import"toCity: Required if importExport is "Export"items: One or more packages, repeated by numberOfGroupplease contact the Digital Team via email for enable and configuration⬅️ Back to Home