Image 1 of 1

Dutch Postalcode Lookup

Product information

By Pinelab

Help out your customers by looking up their full address by searching 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.0.0
Latest version
1.2.0
Last published
Jun 25, 2024
Downloads in past month
150

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

  1. Register at https://postcode.tech/ to get an API key
  2. 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'),
  ...
]
  1. Start your Vendure server
  2. 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.

Vendure
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.

Newsletter

Get the latest product news and announcements delivered directly to your inbox.

© Copyright 2022 - 2024, Vendure GmbH. All rights reserved.