I am working with FedEx Address Validation web services. I have come to know that when an address is incorrect it should prompt me for some correct address suggestions.
Please guide me.
I am working with FedEx Address Validation web services. I have come to know that when an address is incorrect it should prompt me for some correct address suggestions.
Please guide me.
Per the API spec, it returns multiple results back which you should iterate thru and display to the user, and then re-validate.
You receive multiple address results when an exact match was not found. You should confirm an address for accuracy before using it to ship a package. To narrow your results, you can provide more specific address information and check the address again.
There is no direct corrected suggested address from FedEx service. You can download the service code from the FedEx site in your desired language. and after validating the address the service returns multiple attributes like:
On the basics of these attributes, you can look at why your address validation failed. Detail of each attribute you can find on the FedEx Address Validation service documentation file.