Mainfreight API Integration and Tracking


ClickPost Multi-carrier integration platform lets you integrate with 150+ carriers including Mainfreight using a single API

Request Demo


Table Of Contents

Mainfreight Services

Shipping services  

  • Truckload, palletized, and ecommerce shipping

  • Air and ocean freight options

  • International shipping to 25 countries

Special services

  • Warehousing services

  • Dangerous goods, bulk liquids, and perishable shipping

  • Automatic complaint escalation

Technology services

  • Portal for a complete overview of your supply chain

  • Order management system to manage your shipments

  • Mobile app to manage your supply chain on the go

About Mainfreight

Mainfreight is a New Zealand-based shipping service provider with expertise in end to end supply chain logistics. They are headquartered in Auckland and provide domestic as well as international shipping with a wide variety of shipping options based on the requirements of your business. These include shipping by air, ship, and surface transport. Ecommerce business owners also get the option of expedited shipping at additional cost.

Mainfreight was established in 1978, and went through a series of mergers and acquisitions, eventually emerging as the leader in the domestic market. This was followed by rapid expansion into neighboring regions like Australia and Tasmania. Currently, Mainfreight is the largest logistics company in New Zealand and has an international presence. The range of features on offer and Mainfreight’s long standing reputation makes them a top choice for ecommerce businesses.

As Mainfreight started as a conventional freight service long before the advent of ecommerce, they provide all kinds of transport services. These include standard palletised freight, full truck loads, and modern ecommerce specific services. They are also well equipped to offer specialized services like dangerous goods and trans-border services. Apart from modern API integrations and tracking services, Mainfreight also offers a mobile app for ecommerce business owners.

Alongside the expertise in logistics, Mainfreight also offers warehousing and order management solutions. You can use their API to get a system level integration with Mainfreight’s services. This allows your backend services to seamlessly mesh with the shipping services. This is an especially useful feature if you are using a wide range of carriers for shipping. In fact, carrier API integration is quickly becoming a necessity for ecommerce businesses catering to various markets. You can use Clickpost to get an exhaustive API level integration with Mainfreight.

FAQs about Mainfreight


1) How can I track and share tracking information for packages shipped with Mainfreight?

To track packages shipped with Mainfreight, you can use the track packages option available on the homepage of the Mainfreight website. For this you need to know the reference number provided while shipping the package. If you are using a logistics intelligence platform like Clickpost, you can get real time tracking updates on the dashboard provided through courier API integration. This will also allow you to provide a branded tracking page and link to your customers.

2) How can I estimate the shipping cost with Mainfreight?

You can get shipping quotes from Mainfreight by filling up the quote request form available on their website under the ‘quick tools’ header. You will need to fill up this form with your shipment details like origin and destination address, shipment type, shipment dimensions, etc. After this, Mainfreight will get back with the shipping cost. 

List of Mainfreight APIs

API Description
Manifestation and shipping label generation API:

Create order on Courier Partner, fetch waybill and shipping label and place pickup request

Track Shipment API: Track your Mainfreight shipment using AWB and Courier Partner
Cancellation API Cancel shipment manifested on Courier Partner for faster returns
EDD API: Show estimated delivery date for shipments on the order checkout page
NDR Action update: Updates the after NDR action directly on courier company’s database
Return Web-hooks: Track your return shipment using AWB and Courier Partner using web-hooks




How does it work?

Once integrated with ClickPost, you will never have to manually integrate with any other carrier EVER AGAIN


Step 1 - Select The Courier


Step 2 - Enter API Key


What else can you do with ClickPost?