Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
{
"data": {
"estimateCreateOrder": {
"totalEstimate": {
"totalCost": "81.04",
"totalEta": 2552,
"totalDistance": 50.18
},
"ordersEstimate": [
{
"packages": [
{
"isReturn": false,
"cost": "40.79",
"eta": 2416,
"outOfCoverageArea": false,
"outOfCityCover": false,
"originalIndex": 1,
"resolvedAddress": "Av. das Américas, 4666 - Barra da Tijuca, Rio de Janeiro - RJ, 22640-102, Brazil"
}
],
"optimized": {
"cost": "40.79",
"eta": 2416,
"distance": 25.3
}
},
{
"packages": [
{
"isReturn": false,
"cost": "40.25",
"eta": 2552,
"outOfCoverageArea": true,
"outOfCityCover": false,
"originalIndex": 2,
"resolvedAddress": "Av. Ayrton Senna, 3000 - Barra da Tijuca, Rio de Janeiro - RJ, 22775-003, Brazil"
}
],
"optimized": {
"cost": "40.25",
"eta": 2552,
"distance": 24.88
}
}
],
"packagesWithErrors": []
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment