Data Sandbox

Expand all | Collapse all

Auto-completing Address

  • 1.  Auto-completing Address

    Pitney Bowes
    Posted 09-06-2019 05:27

    On most e-commerce websites, customers fill their billing address and shipping info manually. Sometimes the customer may run into address issues and does not complete the check-out process, inevitably quitting before completing the sale. We need to make it easy for customers to accurately input their address information. That's were GeoSearch comes in: it auto-completes the address for your customers accurately. Our research has shown that this helps in increasing the e-commerce conversion by 3-6%. It also helps in calculating exact tax rates for the shipping location.

    This case study shows Borderfree's results using the GeoSearch API in their payment page, which made the check-out process easier and quicker for the customers. It helped them in increasing their sales by 4-5%.

    The auto-completing is quick, easy and straight forward. Here is a sample implementation of GeoSearch API in action behind the scenes:


    In case of multiple units at a particular address, for example, a building with apartments, the auto complete results will show number of units:



    If you select the above result showing multiple addresses, it will further expand and enable you to select a particular unit address. For example, if you click on the result with 14 address as shown above, you will get the list of unit addresses, as shown in the screen-shot below:



    GeoSearch API supports several configurable parameters like search radius, country, city, postal code, ip address, etc. to help you refine your search results and make them more relevant as per your need.

     If you search for "4750 walnut st" in USA, the sample response will look like:

    {

        "location": [

            {

                "address": {

                    "formattedAddress": "4750 WALNUT ST, STE 100, BOULDER, CO 80301",

                    "mainAddressLine": "4750 WALNUT ST",

                    "addressLastLine": "BOULDER, CO 80301",

                    "placeName": "",

                    "areaName1": "CO",

                    "areaName2": "",

                    "areaName3": "BOULDER",

                    "areaName4": "",

                    "postCode": "80301",

                    "postCodeExt": "",

                    "country": "USA",

                    "addressNumber": "4750",

                    "streetName": "WALNUT ST",

                    "unitType": "",

                    "unitValue": ""

                },

                "geometry": {

                    "type": "Point",

                    "coordinates": [

                        -105.24718,

                        40.019365

                    ]

                },

                "totalUnitCount": 4,

                "ranges": [

                    {

                        "placeName": "",

                        "units": [

                            {

                                "unitInfo": "STE 100",

                                "formattedUnitAddress": "4750 WALNUT ST, STE 100, BOULDER, CO 80301"

                            },

                            {

                                "unitInfo": "STE 110",

                                "formattedUnitAddress": "4750 WALNUT ST, STE 110, BOULDER, CO 80301"

                            },

                            {

                                "unitInfo": "STE 200",

                                "formattedUnitAddress": "4750 WALNUT ST, STE 200, BOULDER, CO 80301"

                            },

                            {

                                "unitInfo": "STE 205",

                                "formattedUnitAddress": "4750 WALNUT ST, STE 205, BOULDER, CO 80301"

                            }

                        ]

                    }

                ]

            },

            {

                "address": {

                    "formattedAddress": "4750 WALNUT ST, BALDWIN PARK, CA 91706",

                    "mainAddressLine": "4750 WALNUT ST",

                    "addressLastLine": "BALDWIN PARK, CA 91706",

                    "placeName": "",

                    "areaName1": "CA",

                    "areaName2": "",

                    "areaName3": "BALDWIN PARK",

                    "areaName4": "",

                    "postCode": "91706",

                    "postCodeExt": "",

                    "country": "USA",

                    "addressNumber": "4750",

                    "streetName": "WALNUT ST",

                    "unitType": "",

                    "unitValue": ""

                },

                "geometry": {

                    "type": "Point",

                    "coordinates": [

                        -117.97573,

                        34.091229999999996

                    ]

                },

                "totalUnitCount": 0,

                "ranges": []

            },

            {

                "address": {

                    "formattedAddress": "4750 S WALNUT STREET PIKE, BLOOMINGTON, IN 47401",

                    "mainAddressLine": "4750 S WALNUT STREET PIKE",

                    "addressLastLine": "BLOOMINGTON, IN 47401",

                    "placeName": "",

                    "areaName1": "IN",

                    "areaName2": "",

                    "areaName3": "BLOOMINGTON",

                    "areaName4": "",

                    "postCode": "47401",

                    "postCodeExt": "",

                    "country": "USA",

                    "addressNumber": "4750",

                    "streetName": "S WALNUT STREET PIKE",

                    "unitType": "",

                    "unitValue": ""

                },

                "geometry": {

                    "type": "Point",

                    "coordinates": [

                        -86.526185,

                        39.122675

                    ]

                },

                "totalUnitCount": 0,

                "ranges": []

            }

        ]

    }

    Additionally, we provide SDK's along with the code samples, which can be helpful for you get started quickly.

    Me and my team will be happy to hear your feedback on how easy or difficult was it for you to use GeoSearch API. Feel free to ask any questions regarding the responses, code samples, or any other related technology.






    ------------------------------
    Harpreet Singh Seehra
    Pitney Bowes Software India Pvt. Lt
    NOIDA
    ------------------------------


  • 2.  RE: Auto-completing Address

    Posted 09-11-2019 11:26
    Does this work only for the US? I tried a few Canadian addresses and didn't have any luck.

    ------------------------------
    Raghu Surapaneni
    Visa Technology & Operations LLC
    Foster City CA
    ------------------------------



  • 3.  RE: Auto-completing Address

    Pitney Bowes
    Posted 09-11-2019 12:56
    Edited by Harpreet Singh Seehra 09-11-2019 13:25
    Hi Raghu,

    Can you let me know which address you are trying to GeoSearch?

    It works for Canada, the supported countries list is documented here https://locate.pitneybowes.com/docs/location-intelligence/v1/en/index.html#GeoSearch/geosearch_desc.html

    The demo page your are trying contains sample data only so it might not GeoSearch the exact address that you are looking for.

    Try it on the UI based sample site here https://locate.pitneybowes.com/demos/geosearch

    I also suggest you to Sign-up using the Sign-Up button on the top right corner and choose the Free Plan. It will give you some credits for few days.

    Let me know if it GeoSearch the address you want. Also, try some generic addresses also to see if it GeoSearch any other address in Canada. For example, just type Canada in the Address box on the demo page https://locate.pitneybowes.com/demos/geosearch and it will show you suggestions.

    Let me know if that works for you, or we will find another way to help you and GeoSearch the address you want.

    Thanks,
    Harpreet

    ------------------------------
    Harpreet Singh Seehra
    Pitney Bowes Software India Pvt. Lt
    NOIDA
    ------------------------------