We need to collect address details in local format. It helps us ensure correct addresses are recorded.
...
- On mobile version - show numpad for postcode and phone number. Example:
============================================================================================================
Submitting to CRM
One example:
Av. Pedroso de Morais, 457
Sala 410
São Paulo, SP
05419-000
[Street Name], [House Number] - Address1
[Complement ] - Address2
[City], [State]
[Postal Code]
To submit that to CRM, please use the following format:
Address1 -> Street name, number
Address2 -> complement
============================================================================================================
Suggestion for API integration
Even better, is to have a simple integration with an API that simply finds the address through the zip code. That is how our major websites work in Brazil.
The first step is to collect the zip code (CEP):
After inputting the information, call the CEP API (details at the end of the email), and auto-fill the address found, making sure that the customer fills the house number (has to be mandatory), and complement as optional.
In case that there is no address found, we can use the Google API to help the customer with the address, but as an exception. The CEP API should be very reliable.
See below the details on how to integrate the CEP API.
Simple GET call and you will have a Json as response.
https://api.postmon.com.br/v1/cep/{Postal Code Number}