Dutch address lookup based on postal code and house number
npm install @pinelab/vendure-plugin-dutch-postalcode
Support by
Support languages
en
nl
Integration type
Partner
Category
Other
Compatible with
>=2.2.0
Latest version
1.3.0
Last published
Dec 20, 2024
Downloads in past month
119
Vendure Plugin Dutch Postalcodes
Official documentation here
Find Dutch addresses by postalcode and housenumber using https://postcode.tech’s api. You need to register to obtain an API key, but registering is free of charge.
Getting started
- Register at https://postcode.tech/ to get an API key
- Add the following code to your plugins in
vendure-config.ts
import { DutchPostalCodePlugin } from "@pinelab/vendure-plugin-dutch-postalcode"
plugins: [
DutchPostalCodePlugin.init('your-postcode.tech-apikey'),
...
]
- Start your Vendure server
- You can now lookup address details based on a postalcode and housenumber via the shop-api
query {
dutchAddressLookup(input: { postalCode: "8932BR", houseNumber: "48" }) {
lat
lon
postalCode
houseNumber
street
city
municipality
province
}
}
The api has permission Public
set, which requires you to be authorized as guest or logged in customer. If you have an
activeOrder, you’re usually authorized.
Get started
Create your first commerce experience with Vendure in less than 2 minutes
Vendure is a registered trademark. Our trademark policy ensures that our brand and products are protected. Feel free to reach out if you have any questions about our trademarks.
Documentation
Newsletter
Get the latest product news and announcements delivered directly to your inbox.