How to configure Mainfreight LTL US (MAINFREIGHT) in techSHIP [Guide]
Last updated: November 27, 2026
This guide applies to Mainfreight LTL US, not Mainfreight LTL V2 or Mainfreight NZ.
This guide explains how to add and configure this carrier connection, review its available carrier-specific settings, and understand the shipment requirements and operational constraints that apply.
Carrier Requirements and Specifications
This section summarizes onboarding requirements and lists confirmed carrier-specific constraints.
To review all supported carriers and their specific requirements, see: 📄 techSHIP supported Carriers - Master List [Guides List].
Onboarding Requirements
The Mainfreight LTL US integration supports:
Rate Shopping
Time in Transit
Tracking History
Label References
Information to be Provided
The following credentials and data points are mandatory to connect to Mainfreight LTL US:
DATA ELEMENT | SOURCE (HOW TO OBTAIN) |
|---|---|
Token | Provided by Mainfreight. |
SubscriptionKey | Provided by Mainfreight. |
Account | Obtain the Mainfreight account number. |
Sender address and pickup window | Obtain the shipping location, contact details and pickup closing time. |
Specifications and Constraints
Operational Details
Select the LTL service and provide valid sender and recipient addresses, package weights, dimensions and freight classes. Freight class is calculated if not specified at package level.
A pickup date and time must be available, and it must not be later than the configured closing time.
Configure a housebill number and the required freight terms before processing.
Carrier manifesting is not supported.
Configuring a Baseline Account
A Baseline Account serves as the fundamental connection point between techSHIP and the carrier's system. It acts as a template that holds the credentials and fundamental properties required to process shipments.
The techSHIP AI Assistant is available from the Carrier page for supported Carrier configuration tasks. For detailed conceptual information and advanced configuration, refer to 📄 techSHIP AI Assistant: Overview & Availability [Information].
Adding a Carrier
Before adding an account, you must ensure the Carrier entity is available for your location.
Click My Carriers from the left menu under the Carriers category.
Click Add Carrier.

Select the desired Carrier.
You may encounter additional messages depending on the carrier status or your plan:
Subscription Required (⭐): If the carrier has a star icon, you will see a message stating "To use this carrier, a subscription upgrade is required." Press Contact to Upgrade to proceed.

Carrier Suspended: If the carrier has not been used for an extended period, you will see a message stating “This carrier is currently on hold...” Click Request Assistance to reactivate it.

Setup Fee Waived: If a carrier from the same carrier group is already installed in your location, you can add this carrier without incurring additional fees.

If needed, update the carrier Name.
Click Add Carrier.

If the purchase confirmation appears, complete the following steps:
Review the purchase notice and any applicable charge information.
Optionally enter a PO Number.
Select I am authorized to complete this purchase on behalf of my organization.
Click Purchase to confirm the Carrier addition.

Once the Carrier is added, you will be automatically redirected to the Carrier page to continue setting it up.
Enter the Code of the Carrier as it appears in your host system.
The Code of the Carrier must match exactly the value defined in the host system. Any discrepancy (including casing or extra spaces) may prevent the carrier from working correctly.
Click Save.

If your facility utilizes the centralized Pickup Schedule, we highly recommend adding this new carrier to your calendar now. While not required to process labels, this ensures accurate induction metrics for your Insights dashboards. To learn more, see 📄 Understanding the Centralized Pickup Schedule & Expected Induction Logic [Information].
Adding a Baseline Account
From the Carrier page, click Add Account to create a new Baseline Account.

You will be redirected to the Baseline Account page to complete the setup.
Entering incorrect values will prevent the system from generating shipping labels.
General Tab
In the General tab, define the administrative properties:

Name: Enter a descriptive name for the account.
Enter a descriptive name based on unique properties. E.g.:
Carrier Name - Account Number (CarrierX - 123456789)
Carrier Name - Consolidator Name (CarrierY - MyConsolidator)
Carrier Name
Usage: Select the most suitable option:
Test: Used for sandbox or onboarding purposes.
Production: Used for live shipping.
Keep the Status field set to its default Active value. An account must be Active to remain fully editable. For detailed conceptual information on account statuses, refer to 📄 How to Inactivate and Activate a Carrier Baseline Account [Step-by-Step Guide].
Carrier Tab
Token, SubscriptionKey and Account: Enter the carrier-issued credentials and account number.
Calculate pickup time: Enable to calculate pickup timing automatically.
Pickup open time, Pickup close time and Weekends mode: Configure the operating window and weekend availability. The pickup closing time is required for shipment processing.
Complete the Sender address, including the required phone and applicable email.
Labels Tab
Select PDF or PNG and the A4 or 6 x 4 label stock size.
Finalizing the Setup
Once you have entered the required information, click Save.

After you save the Baseline Account, check whether the Registration tab or a registration status badge is available.

If neither is available, the Carrier does not use this Registration workflow in techSHIP. If registration is still pending, open the Registration tab and press Registration, then complete 📄 How to Register a Carrier Baseline Account [Step-by-Step Guide] before creating shipments.
From the Carrier page, you can now see the Baseline Account listed with the administrative status Active. The Active status is separate from the account's registration status.

The Baseline Account configuration is now saved. You can continue with Configuring a Client Account below to assign the Baseline Account to a specific Client.
Configuring a Client Account
Adding an Account
Before adding a Client Account, ensure that the Client has been created. For instructions creating a Client, see: 📄 10 - How to create a Client profile [Step-by-Step guide].
Click Clients from the left menu under the Clients section.
Click the Edit icon for the desired Client.

Click Add Accounts.

Optionally, use the Search box to search by Baseline Account Name or Carrier.
Select the Baseline Accounts that will serve as the foundation for your new Client Accounts.
Click Add Accounts.

A toast notification will confirm the accounts were successfully assigned. Click the Refresh icon if recently added accounts are not displayed.

Click Edit on each newly created account.

Configure the available options in each tab (except Carrier).

For complete instructions on configuring this settings, see 📄 How to configure the Billing Account General Options tab [Step-by-Step guide].
Carrier Tab
Service code: Select LTL.
Package type: Select the handling-unit type.
Housebill number: Specify the required housebill reference.
Customer unique item number, Reference corresponding to the sender and Reference corresponding to the receiver: Configure the applicable references.
Freight terms: Select Door To Door, Door To Depot, Depot To Door or Depot To Depot.
Complete applicable sender address and contact overrides.
Specifying Rate Shopping Service Codes
For detailed instructions on how to configure this, see: Include or exclude Service Codes when Rate Shopping [Step-by-Step Guide].
Label References
In the Billing Account's General settings, Reference 1 is sent as the shipper reference, Reference 2 as the probill reference and Reference 3 as the consignee reference. If a client reference is not configured, the corresponding Baseline Account reference is used. The carrier controls the appearance of references on its label.
For a comprehensive guide on how to use label references, see: Using order References in your labels [Step-by-Step guide].
Finalizing the Setup
Once you have entered the required information, click Save.

With the account configured and requirements verified, you can now proceed to process orders as described below.
Configuring an Order
The steps described in this section are not required for carrier setup, and they are offered as an optional review if further order-level configuration is required.
Follow the UI Navigation steps in 📄 05 - How to edit an order’s information - [Step-by-Step guide], using the carrier-specific values provided in this guide.
Set the service, ship date and pickup date/time at the Batch level. In the Order's Carrier Tab:
Service code and Contents description: Specify the service and freight contents.
Stackable and Ship to address is residential: Configure the applicable shipment characteristics.
Pickup DateTime: Specify the pickup date and time when not automatically calculated or supplied at Batch level.
Delivery date and Delivery time: Specify the requested delivery deadline if applicable.
Insurance: Enable when required and enter the Declared/Insured value.
Click Save to apply the order-level changes. After the Order is updated, continue with the standard shipping workflow.
Troubleshooting
Verify the token, subscription key and account if authentication fails.
If pickup validation fails, check the baseline closing time and the calculated or specified pickup time.
Confirm the housebill, package type, freight terms and label stock when processing fails.