Address
Summary
The Address object represents full information about customer's address. You need to pass correct customer's address to methods Create new partner order to get correct result cost of order.
Schema
name | type | data type | default | description |
|---|---|---|---|---|
address | required | string | N/A | string representing the address |
coordinates | required | { lat: double, lon: double } | N/A | object containing coordinates of point |
details | required | string | N/A | string providing detailed information about the address |
zip | required | string | N/A | string representing the post code of the address |
Description
- address: string
Address in free form or from Maps API
- coordinates: string
Latitude and longitude of the customer's address. Contains follow properties:
lat: double. Latitude.
lon: double. Longitude.
- details: string
Additional details of customer's address.
- zip: string
Postcode of customer's address.
Example
{
"address": "Andrea Panagidi 7, Mesa Geitonia 4003, Cyprus",
"coordinates": {
"lat": 34.7018705,
"lon": 33.0485299
},
"details": "House is on the corner. Entrance from the road side.",
"zip": "4003"
}
Last modified: 09 February 2024