POST
/api/v1/customer/online-order/get-distance
This API method will return distance from location_id,address_id or latitude and longitude,
Request Parameters
Parameter | Value / Type | Required |
|---|---|---|
location_id | STRING | false |
shipping_address_id | STRING | false |
current_latitude | STRING | false |
current_longitude | STRING | false |
latitude_to | STRING | false |
longitude_to | STRING | false |
Sample Response
{
"status":true,
"distance":15
}{
"status":false,
"message":"No Latitude or Longitude Found for Address"
}{
"status":false,
"message":"No Latitude or Longitude Found for Address"
}{
"status": false,
"message": "Failed to find customer address record"
}