Get the distance between two locations

This will take in two addresses and return the distance between them

Request
Security:
Request Body schema: application/json
object (Address)
object (Address)
Responses
200

The distance between addresses

Response Schema: application/json
distance_meters
integer
duration_seconds
integer
default

Default error response

post/locations/distance/
Request samples
application/json
{
  • "destination": {
    },
  • "origin": {
    }
}
Response samples
application/json
{
  • "distance_meters": 0,
  • "duration_seconds": 0
}
Copyright © Shipwell 2022. All right reserved.