This Vendure plugin allows you to lookup addresses based on postalcode, housenumber and/or streetname.
In your storefront, you can use the lookupAddress mutation to look up an address.
You need an active order to be able to access this query!
If you want to use the Google Places API, you can do so by registering the GooglePlacesLookupStrategy in your config:
The Google places API requires you to input the housenumber and streetname. It will mostly give you a single result, even when multiple results can exists. If that happens, you can pass the postalcode to get a specific result.
If you want to implement your own strategy, for example to support more countries, or use different API's, you can do so by implementing the LookupStrategy interface:
postalCode is now optional