shipment
Estimate the cost and timing of a shipment.
Calculates the estimated price, pickup time, and delivery time for the given parcels using the specified shipping type.
post/v3/parcels/estimate
Request body
Example request
{
"parcels": [
{
"external_id": "parcel_001",
"pickup_location": {
"lat": 40.4489254,
"lon": -3.6730293
},
"dropoff_location": {
"lat": 40.4489254,
"lon": -3.6730293
},
"dimensions": {
"height": 10,
"length": 10,
"width": 10
},
"weight": {
"value": 1500
}
}
],
"pickup_time": "2021-12-02T10:12:07.753Z"
}Response
Estimation calculated successfully.
Example response
{
"deliveries": [
{
"parcels": [
{
"external_id": "parcel_001",
"pickup_location": {
"lat": 40.4489254,
"lon": -3.6730293
},
"dropoff_location": {
"lat": 40.4489254,
"lon": -3.6730293
},
"dimensions": {
"height": 10,
"length": 10,
"width": 10
},
"weight": {
"value": 1500
}
}
],
"estimation": {
"price": {
"amount": 630,
"currency": "EUR"
},
"eta_to_pickup": "2021-12-02T10:12:07.753Z",
"eta_to_delivery": "2021-12-02T10:12:47.753Z"
}
}
]
}