LTL Connect API (2021-10-25T16:21:53.000Z)

Download OpenAPI specification:

API reference for LTL Connect, enabling integrators to redirect users to uShip rates, retrieve Bill of Lading documents, and access shipment reports.


Getting Started

Base URLs

Environment URL Description
Sandbox https://www.ushipsandbox.com Test environment for development
Production https://www.uship.com Live production environment

Note: LTL Connect uses web-based URLs (www subdomain) unlike other uShip APIs.


Authentication

All API requests require Bearer token authentication.

Obtaining Your API Key

  1. Navigate to API Key Generation Page
  2. Generate your API key (specify sandbox or production)
  3. Include in all requests:
Authorization: Bearer <your_api_key>

Integration Guides

Guide Description
Sandbox Testing Guide Comprehensive sandbox testing documentation
uShip DeveloperHub Integration guides and tutorials

Support

For questions or assistance, contact: apisupport@uship.com

Rates Redirect

Generate redirect links to uShip's rate comparison page with pre-filled shipment details.

Create redirect link for uShip LTL Rates

Allows integrator to generate a prefilled listing creation page or send user directly to uShip rates

Authorizations:
bearerAuth
header Parameters
cache-control
required
string
Example: no-cache

Required. Set this value to no-cache

x-uship-affiliate-id
required
string
Example: your-affiliate-id

Required. Your uShip Affiliate ID provided by uShip. Ensures all P44 customizations are preserved.

Request Body schema: application/json
required
commodity
string
Enum: "NewCommercialGoods" "UsedCommercialGoods"

Valid commodities are NewCommercialGoods and UsedCommercialGoods

title
string

The title for your listing

referrer
string
earliestPickupDate
string

Earliest pickup date in the ISO 8601 format. NOTE - the timezone is assumed to be in the pickup location's timezone. Offsets will be disregarded. For example, 2022-07-01T11:00-0700 will be interpreted as 2022-07-01T11:00

latestPickupDate
string

Latest pickup date in the ISO 8601 format. NOTE - the timezone is assumed to be in the pickup location's timezone. Offsets will be disregarded. For example, 2022-07-01T11:00-0700 will be interpreted as 2022-07-01T11:00

destinationLocationType
string (PostRedirectRequestModelDestinationLocationType)
Enum: "Residence" "BusinessWithLoadingDockOrForklift" "BusinessWithoutLoadingDockOrForklift" "ConstructionSite" "TradeShowOrConvention" "Port" "StorageFacility" "MilitaryBase" "Airport" "OtherSecuredLocation" "School" "GovernmentLocation" "FarmRanchEstate" "ReligiousInstitution" "GolfCourseResortPark" "DistributionCenter" "Auction"

Valid locations are Residence, BusinessWithLoadingDockOrForklift, BusinessWithoutLoadingDockOrForklift, ConstructionSite, TradeShowOrConvention, Port, StorageFacility, MilitaryBase, Airport, OtherSecuredLocation, School, GovernmentLocation, FarmRanchEstate, ReligiousInstitution, GolfCourseResortPark, DistributionCenter, or Auction

destinationAddress
string <= 255 characters

The address for the delivery location

destinationAddress2
string <= 255 characters

Additional address detail field for the delivery address

destinationState
string <= 255 characters

The state of the delivery location

destinationCity
string <= 255 characters

The city for the delivery location

destinationPostalCode
string <= 20 characters

The zip code for the delivery location

object (PostRedirectRequestModelDestinationContact)
originLocationType
string (PostRedirectRequestModelDestinationLocationType)
Enum: "Residence" "BusinessWithLoadingDockOrForklift" "BusinessWithoutLoadingDockOrForklift" "ConstructionSite" "TradeShowOrConvention" "Port" "StorageFacility" "MilitaryBase" "Airport" "OtherSecuredLocation" "School" "GovernmentLocation" "FarmRanchEstate" "ReligiousInstitution" "GolfCourseResortPark" "DistributionCenter" "Auction"

Valid locations are Residence, BusinessWithLoadingDockOrForklift, BusinessWithoutLoadingDockOrForklift, ConstructionSite, TradeShowOrConvention, Port, StorageFacility, MilitaryBase, Airport, OtherSecuredLocation, School, GovernmentLocation, FarmRanchEstate, ReligiousInstitution, GolfCourseResortPark, DistributionCenter, or Auction

originAddress
string <= 255 characters

The address for the shipping location

originAddress2
string <= 255 characters

Additional address detail field for the shipping address

originCity
string <= 255 characters

The city for the shipping location

object (PostRedirectRequestModelDestinationContact)
originPostalCode
string <= 20 characters

The zip code for the shipping location

originState
string <= 255 characters

The state for the shipping location

pickupInstructions
string <= 1000 characters

Optional information for the driver or carrier regarding pickup, e.g., hours of operation, details on parking, etc.

deliveryInstructions
string <= 1000 characters

Optional information for the driver or carrier regarding delivery, e.g., hours of operation, details on parking, etc.

quoteRequestAccessorials
Array of strings
Items Enum: "PickupLiftgateRequired" "PickupInside" "DeliveryLiftgateRequired" "DeliveryInside" "DeliveryAppointmentRequired" "DeliveryCallAhead" "ProtectFromFreezing" "SortAndSegregate" "BlindShipmentCoordination"

Selected checkboxes for pickup, delivery and additional options. Valid options are: PickupLiftgateRequired, PickupInside, DeliveryLiftgateRequired, DeliveryInside, DeliveryAppointmentRequired, DeliveryCallAhead, ProtectFromFreezing, SortAndSegregate, BlindShipmentCoordination

page
string
Enum: "freightInfo" "rates"

Opt to redirect requests to the freight information page or directly to the rates page if all required fields are supplied

Array of objects
Array of objects (PostRedirectRequestModelItemsItem)

Responses

Request samples

Content type
application/json
{
  • "commodity": "NewCommercialGoods",
  • "title": "LTL Freight Shipment - Austin to Los Angeles",
  • "earliestPickupDate": "2025-01-15",
  • "latestPickupDate": "2025-01-20",
  • "destinationLocationType": "Residence",
  • "destinationAddress": "123 Main Street",
  • "destinationAddress2": "123 Main Street",
  • "destinationState": "TX",
  • "destinationCity": "Austin",
  • "destinationPostalCode": "90210",
  • "destinationContact": {
    },
  • "originLocationType": "Residence",
  • "originAddress": "123 Main Street",
  • "originAddress2": "123 Main Street",
  • "originCity": "Austin",
  • "originContact": {
    },
  • "originPostalCode": "78701",
  • "originState": "TX",
  • "pickupInstructions": "Call ahead 30 minutes before arrival",
  • "deliveryInstructions": "Deliver to loading dock at rear of building",
  • "quoteRequestAccessorials": [
    ],
  • "page": "freightInfo",
  • "referenceNumbers": [
    ],
  • "items": [
    ]
}

Response samples

Content type
application/json
{ }

Reports

Access shipment reports for booked and cancelled listings within a date range.

View data for all booked/cancelled listings for a given date range

Allows integrator to retrieve data on shipments booked, including bolID

Authorizations:
bearerAuth
query Parameters
startDateTime
required
string
Example: startDateTime=2025-01-01T00:00:00Z

Required. Report start date in IS0-8601 format

endDateTime
required
string
Example: endDateTime=2025-01-31T23:59:59Z

Required. Report end date in IS0-8601 format

header Parameters
x-uship-affiliate-id
required
string
Example: your-affiliate-id

Required. Your uShip Affiliate ID provided by uShip. Ensures all P44 customizations are preserved.

Responses

Response samples

Content type
application/json
{
  • "count": 1,
  • "items": [
    ]
}

Bill of Lading

Retrieve Bill of Lading documents for booked shipments.

Retrieve Bill of Lading

Allows integrator to retrieve Bill of Lading for shipments by listing ID (visible in /reports response)

Authorizations:
bearerAuth
path Parameters
id
required
string
Example: 675712978

Required. uship id for the listing

Responses