1. Home
  2. Docs
  3. API documentation
  4. customer API
  5. Customer search

Customer search

If you want search customer parcels, these parameters are available to you to filter:

NameTypeDescription
latlngstringIf applied only locations in the specified radius from this gps coord are returned.
radiusnumberRadius in meters to return only locations within selected radius from given GPS location. Ignored if latlng is not present. Default value 25000.
requiredSizenumberReturn only locations that can accept a package of your requiredSize.

See an example of an integration:

GET /apms:customerSearch

curl -X 'GET' \
  '.../apms:customerSearch?latlng=48.78081955454138%2C12.446962472273063&radius=1000&requiredSize=1' \
  -H 'accept: application/json'

Status Code 200

{
  "data": [
    {
      "id": "string",
      "title": "ΠΑΝΤΕΛΟΓΛΟΥ ΔΗΜΗΤΡΗΣ",
      "name": "ΠΑΝΤΕΛΟΓΛΟΥ ΔΗΜΗΤΡΗΣ",
      "addressLine1": "ΛΕΩΦΟΡΟΣ ΕΙΡΗΝΗΣ 28",
      "addressLine2": "string",
      "postalCode": "15121",
      "country": "Greece",
      "image": "https://via.placeholder.com/150",
      "note": "You can find the APM behind the pet shop",
      "lat": "48.78081955454138",
      "lng": "12.446962472273063"
    }
  ]
}