Get all available latitude and longitude objects from address
Get all available latitude and longitude objects from address.
Query parameters
-
address[country] string
Shipping country
-
address[postcode] string
Shipping postcode
-
address[street] string
Shipping street address
-
address[region] string
Shipping region
-
address[city] string
Shipping city
GET /V1/inventory/get-latslngs-from-address
curl \
-X GET https://magento2.winkelstraat.mac/rest/all/V1/inventory/get-latslngs-from-address
Response examples (200)
[
{
"lat": 42.0,
"lng": 42.0
}
]
Response examples (401)
{
"message": "string",
"errors": [
{
"message": "string",
"parameters": [
{
"resources": "string",
"fieldName": "string",
"fieldValue": "string"
}
]
}
],
"code": 42,
"parameters": [
{
"resources": "string",
"fieldName": "string",
"fieldValue": "string"
}
],
"trace": "string"
}
Response examples (400)
{
"message": "string",
"errors": [
{
"message": "string",
"parameters": [
{
"resources": "string",
"fieldName": "string",
"fieldValue": "string"
}
]
}
],
"code": 42,
"parameters": [
{
"resources": "string",
"fieldName": "string",
"fieldValue": "string"
}
],
"trace": "string"
}
Response examples (default)
{
"message": "string",
"errors": [
{
"message": "string",
"parameters": [
{
"resources": "string",
"fieldName": "string",
"fieldValue": "string"
}
]
}
],
"code": 42,
"parameters": [
{
"resources": "string",
"fieldName": "string",
"fieldValue": "string"
}
],
"trace": "string"
}