
Photo by Adrien Olichon on Unsplash
A carrier API integration lets your own system book shipments, get labels, follow tracking and look up service points directly with a carrier, without anyone typing orders into the carrier's website. The catch is that every carrier has its own API. Connecting three carriers means building and maintaining three integrations, each with its own sign-in method, label format, tracking model, service point search and test system. This guide walks through what to plan for in each of those areas, what tends to take longer than expected, and when it is simpler to connect once to a shipping API that already talks to the carriers for you.
Key takeaways
Every carrier API differs in sign-in, label format, tracking, service point search and test system, so each carrier is its own project.
Booking a label is the easy part. Token renewal, errors, retries and carrier changes are where most of the time goes.
Not every carrier has a test system, and some test bookings are real. Check how each carrier tests before you start.
A shipping API gives you one sign-in, one shipment format and one set of tracking statuses for every carrier you connect.
Zippendo's REST API covers labels, tracking and service points, and a missing carrier is usually connected within the week.
What a carrier API integration has to cover
Most webshops, warehouses and ERP teams need the same five things from a carrier, whichever carrier it is:
- Sign-in: prove who you are on every request, and keep the credentials safe.
- Booking and labels: send the receiver, the parcels and the carrier product, and get a label and a tracking number back.
- Tracking: follow each parcel until it is delivered or returned, and tell your customer.
- Service points: show nearby service points at checkout and book the parcel to the one the customer picked.
- Pickups and returns: ask the carrier to collect parcels, and create return labels when a customer sends something back.
Each item looks small in a carrier's documentation. The work is in doing all five for every carrier, keeping them running, and making the results look the same to the rest of your system.
Sign-in works differently at every carrier
There is no common standard for how a carrier API checks who you are. Two examples from the carriers' own developer pages, checked 9 November 2026:
- Bring asks for three headers on every request: the email address of your Mybring user, an API key you create in Mybring, and the URL of the service that uses the API. Some Bring APIs also need a customer number your account has access to.
- FedEx uses OAuth: you send a client ID and secret to get an access token, and FedEx says the token expires in an hour. Your system has to fetch a new one before it runs out, or shipping stops mid-afternoon.
Other carriers use a username and password, a customer number with a key, or a mix. Plan for three things here: storing the credentials encrypted, renewing tokens before they expire, and handling a changed or revoked key without stopping every shipment at once.
Labels: formats, sizes and required fields
Most carriers return the label as a PDF. Thermal label printers often work better with ZPL, and only some carriers offer it: in Zippendo, for example, DHL Express, FedEx, PostNL and UPS let you choose ZPL, while most others return PDF. Label sizes also vary, so a label that fits your roll from one carrier may print on an A5 page from another.
The fields a carrier requires differ more than you would expect. Some need the receiver's phone number or email address for delivery notices. Some take weights only in whole kilograms and round up. Some cap the length of an address line. International shipments outside the EU need customs data on every line, and the carrier then decides whether it makes the CN22 or CN23 itself or expects you to attach one. See our guide to the CN23 customs form for what goes on it.
Every carrier also words its errors its own way. A useful integration turns "Field consignee.phone invalid" into something your packing team can act on, for each carrier.
Tracking: pull, push or both
Carriers offer tracking in one of two ways. Either your system asks for the latest scans (pull), or the carrier sends scans to an address you register (push). Many offer both.
- Pull needs a schedule, a list of parcels still on their way, and care not to hit the carrier's request limits. Zippendo, for example, checks most carriers for new scans about once an hour.
- Push needs a public endpoint, a way to check that each message really comes from the carrier, and a fallback for the day the pushes stop arriving. Some carriers, such as Bring, send scans to Zippendo as they happen.
Then there is the vocabulary. Every carrier names its scans differently, so you need your own short list of statuses and a mapping from each carrier's codes. Zippendo sorts every carrier scan into nine: Created, Awaiting pickup, Picked up, In transit, Out for delivery, Ready for pickup, Delivered, Returned and Exception. Whatever list you choose, the mapping is a table you maintain per carrier.
Service points at checkout
If you offer delivery to a service point or a parcel locker, your checkout needs to search for points near the customer's address, fast enough that the page does not hang. The point the customer picks must then travel with the order, so the booking goes to that exact point.
Each carrier's network has its own rules. Bring's service terms from 1 May 2026, for example, allow 20 kg per parcel to a service point in Denmark and Sweden, but 10 kg and 60 x 50 x 44 cm in a parcel locker. Your integration has to know these limits per carrier and per product, or the booking fails after the customer has already paid. Our guide to parcel lockers and service points in Europe lists the networks country by country.
Test systems: check how each carrier tests
You will want to test before you ship real parcels, and carriers handle that very differently. From Zippendo's own carrier guides:
| Carrier | How testing works |
|---|---|
| Bring, DAO Denmark, Budbee | Your normal credentials. The carrier treats the shipments as tests. |
| FedEx, DHL Express, PostNL | Separate test credentials. Real ones do not work in test mode. |
| DPD Belgium | Test shipments stay at DPD and cannot be cancelled. |
| Royal Mail (Click & Drop) | No test system. Every label is a real label. |
| Posti | No test system. Posti says it invoices only parcels actually shipped. |
| DSV XPress | No test switch. Connect the demo keys as a separate carrier. |
Plan your test data accordingly: made-up receiver names where a test can reach a real system, and your own email address and phone number where the carrier notifies the receiver. And keep test and live credentials apart, because a mismatch usually shows up as a login error that looks like something else.
The hidden work: errors, retries and carrier changes
Booking the first label usually takes days, not weeks. What takes longer is everything around it.
- Timeouts and double bookings. A booking request that times out may still have created the shipment at the carrier. If your system simply tries again, you can pay for two labels. You need a way to check before you retry, and to stop two people or two processes sending the same order at the same time. In Zippendo, a shipment can only be sent once at a time, so a double click or a retry does not book it twice.
- Request limits. Carriers limit how often you can call them. A bulk send on a busy morning has to spread its calls out.
- Carrier changes. Carriers release new API versions, retire old ones and change how sign-in works. Each change lands on your team's list, often with a deadline.
- Monitoring. When a carrier's API is slow or down, someone has to notice before the packing bench does.
None of this is hard on its own. Multiplied by the number of carriers you use, it becomes a standing job for a developer.
Build it yourself or use one shipping API
A shipping API sits between your system and the carriers. You connect once, and it handles each carrier's sign-in, formats and tracking for you.
| Task | Direct to each carrier | Through one shipping API |
|---|---|---|
| Sign-in | One method per carrier | One token for every carrier |
| Shipment format | One per carrier | One format |
| Labels | Each carrier's formats | One endpoint, PDF or ZPL where offered |
| Tracking | Pull or push per carrier | One set of statuses and webhooks |
| Service points | One search per carrier | One search for every carrier |
| Adding a carrier | A new project | Connect it and choose its products |
| Carrier API changes | Your team updates the code | The platform updates the connection |
Going direct still makes sense in some cases: you only ever use one carrier, you need a carrier feature no shipping API exposes, or you already have a team that maintains carrier integrations. For most webshops, 3PLs and in-house development teams with two or more carriers, one API is less work to run.
What the Zippendo API covers
Zippendo is a shipping platform with a public REST API, and you can use the API on its own if you only want carrier connections in your own system. The REST API quickstart has the details. In short:
- One sign-in. API tokens start with zipp_ and are sent as a Bearer token. Each token gets only the permissions you tick.
- Shipments and labels. Create, send and split shipments, and get labels and documents, for every carrier you have connected.
- Tracking. One set of tracking statuses for every carrier, and webhooks that tell your system when a shipment is sent or its tracking changes.
- Service points and checkout prices. Look up a carrier's service points, and get shipping prices for a cart from your shipping rules.
- SDKs. Free client libraries for TypeScript, Python, PHP, Go, Ruby, Java and C#.
- Test mode per carrier. Tick Test mode on a carrier connection to send to the carrier's test system, where the carrier has one.
Every plan has the same request limit: 1,000 API requests a minute per organization. You can use your own carrier agreements, so your negotiated prices stay yours; see what to look for when you use your own carrier agreement. The same platform serves webshops, 3PL warehouses with many clients and enterprises, and the developer page shows what the API looks like in practice.
If a carrier you need is not on the list of integrations, you can request it in the app. A carrier Zippendo does not support yet is usually connected within the week, often the same day.
Checklist before you connect a carrier
Whether you build directly or use a shipping API, go through this list first:
- List the carriers and products you will use in each country, including returns and service point products.
- Get API access from each carrier, and ask which credentials work in its test system.
- Decide where credentials are stored, who can see them and how tokens are renewed.
- Check each product's weight, size and service point limits, and where they are enforced.
- Decide on your label format and size, and test it on the printer you actually use.
- Choose your tracking statuses and how each carrier's scans map to them.
- Plan for timeouts: how a retry checks whether the first request went through.
- Agree who watches for failed bookings and carrier changes once you are live.
Carrier API integration FAQ
Sincerely yours,

Jonas Bang
Jonas Bang · Co-founder, CPO



