Introduce API support for structured user address entry, where users begin by entering partial address information. The API responds with a small set of smart suggestions to help complete the address.
Once the user selects the correct suggestion, your application can seamlessly use the existing Lookup endpoint to identify known business partners at or near the selected address.
Sample request and response for illustration:
POST /addresses/search
{
<pagination>,
"query": "Lukasstrasse 8"
}
{
"values": [
{
"label" : "Lukasstrasse 8, 9008 St. Gallen, Schweiz"
"address" : { <CDQ address model> }
}
]
}
Optional feature is that known business partners are already part of the result.