EirLinkEirLink

Connect your An Post API key

Takes about two minutes.

EirLink creates labels through your own An Post eCommHub account. You connect it once by pasting your eCommHub API key into EirLink. This page shows where the key lives and how to add it.

Before you start

Find your key in eCommHub

  1. Log in at ecommhub.anpost.com.
  2. Open the page called External Connections To The System.
  3. Under API Settings, copy the API key. Make sure you get the whole thing.

The whitelist setting

In that same API Settings section there is a tick box called Use Whitelist. With it on, An Post only accepts your key from the internet addresses on your account's list. Your labels are created by EirLink, not on your own computer, so EirLink's addresses have to be on that list, or the box has to be off.

An Post now switches Use Whitelist on for new API accounts, and some of their team ask for the addresses before they send the key. These are EirLink's three, and they do not change:

208.77.244.242
152.55.184.240
152.55.185.189

Give An Post all three. EirLink uses each of them in turn, so with only one or two on the list some labels fail and others work. Once you have signed up, the same addresses are under the key box in Settings, then the Carriers tab. If your account lets you untick Use Whitelist instead, that works too.

Add it to EirLink

  1. In EirLink open Settings, then the Carriers tab.
  2. Paste the key and press Verify & save.

EirLink checks the key against the live An Post API before saving it, and stores it encrypted. Once the check passes you are connected, and labels you create bill straight to your An Post account.

API limits and label type

On the same page, API Limits controls how many requests per minute your key allows for Booking and Other. If either is blank or 0, An Post can refuse every request. Set both to something sensible like 60. Label type should be set to API.

Once you are connected

Labels pull the weight and HS code of every item from your Shopify products. If those fields are blank, parcels go out at the 0.1 kg minimum and on a placeholder customs code. Set up your Shopify products for shipping covers where to fill them in.

Key refused? Fix a refused An Post key.

← Back to EirLinkProduct weights and HS codes