CarrierCloud (v1) - Universal Transportation API

Operations a customer or shipper performs with a partner: orders, quotes, locations, documents and tracking.


Orders - Get Orders

GET
https://carriercloud.ai
/v1/partner/{partnercode}/orders

Get a list of orders (trip) for a specific partner.

Orders - Get Orders › path Parameters

partnercode
​string · required

Partner code of the company whose data this request reads or writes (its VIA company code, for example MIST). Your API key identifies your own company; the request succeeds only when the two companies have an approved, API-enabled partnership in the Partner Network. Use Get Active Partners to list the codes available to you.

Orders - Get Orders › query Parameters

page
​integer · int32

Page number to return, starting at 1. Omit for the first page.

refNumber
​string · minLength: 1 · maxLength: 100

Filter orders by exact reference number match. The reference number must match exactly (case-sensitive).

orderNumber
​string · minLength: 1 · maxLength: 100

Filter orders by exact order number match. The order number must match exactly (case-sensitive).

status
​string · minLength: 1 · maxLength: 100

Filter orders by exact status match. The status must match exactly (case-sensitive).

billTo
​string · minLength: 1 · maxLength: 100

Filter orders by bill-to customer code. The Customer ID must match exactly (case-sensitive).

sort
​string · enum

Optional sort for order results. Default is by Order Id.

Enum values:
DateLastActivity
CreatedAt

Orders - Get Orders › Headers

Authorization
​string · required

The Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.

Orders - Get Orders › Responses

Orders for the partner, newest activity first, 100 per page.

​object[]
An order (trip) as seen by a customer or partner, with its stops and freight. Returned by Get Orders.
ID
​string

Order identifier. Use it as orderid on Get Order Detail, Update Order Booking and Cancel Order Booking.

TripId
​string | null

Order number.

Company
​string

Always empty.

Carrier
​string

Always empty.

CarrierName
​string

Always empty.

​object[]
ProNumber
​string

Always empty.

BookedDate
​string | null · date-time

Date-time the order was created.

TripStatus
​string | null

Order status.

BillTo
​string | null

Identifier of the bill-to company.

LastUpdated
​string | null · date-time

Date-time of the last activity on the order.

OriginEarliest
​string | null · date-time
OriginLatest
​string | null · date-time
OriginCity
​string | null
OriginState
​string | null
OriginRegion
​string | null

Origin country.

DestinationEarliest
​string | null · date-time
DestinationLatest
​string | null · date-time
DestinationCity
​string | null
DestinationState
​string | null
DestinationRegion
​string | null

Destination country.

Driver1
​string | null

Primary driver name.

Driver2
​string | null

Always null.

Tractor
​string | null

Tractor number.

Trailer
​string | null

Always null.

NextEventDateTime
​string | null · date-time
NextEventDateFlag
​string | null
OriginZipCode
​string | null
DestinationZipCode
​string | null
PercentCompleted
​number | null
StopsCompleted
​integer | null
TotalStops
​integer | null
ProximityDescription
​string | null

Last known position as text, when tracking is available.

ProximityLatitude
​number | null
ProximityLongitude
​number | null
OriginCompanyId
​string | null
OriginCompanyName
​string | null
DestinationCompanyId
​string | null
DestinationCompanyName
​string | null
​object[]
​object[]
Driver1Name
​string | null
Driver2Name
​string | null

Orders - Create Order Booking

POST
https://carriercloud.ai
/v1/partner/{partnercode}/orders

Create (book) a new transportation order with a partner. This endpoint allows customers to book orders that will be made available to carriers in the partner network. The order must include at least two stops (pickup or delivery location) with required location information. Optional freight details, reference numbers, and special instructions can be included to provide complete order information. X

Orders - Create Order Booking › path Parameters

partnercode
​string · required

Partner code of the company whose data this request reads or writes (its VIA company code, for example MIST). Your API key identifies your own company; the request succeeds only when the two companies have an approved, API-enabled partnership in the Partner Network. Use Get Active Partners to list the codes available to you.

Orders - Create Order Booking › Headers

Authorization
​string · required

The Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.

Orders - Create Order Booking › Request Body

​OrderStop[] · minItems: 2 · required

Array of stops (pickup and delivery locations)

OrderNumber
​string · maxLength: 100

Unique order number for tracking

EquipmentSelection
​string · maxLength: 50

Equipment type abbreviation for the order

ServiceType
​string · maxLength: 50

Service type abbreviation for the order

Driver1
​string · maxLength: 200

Primary driver name for brokered carrier

Driver2
​string · maxLength: 200

Secondary driver name for brokered carrier

DriverPhone
​string · maxLength: 50

Driver phone number for brokered carrier

Tractor
​string · maxLength: 100

Tractor identifier for brokered carrier

Trailer
​string · maxLength: 100

Trailer identifier for brokered carrier

​FreightDetail[]

Details about the freight being transported

​ReferenceNumber[]

Reference numbers (BOL, PRO, etc.)

BillToCompanyId
​string · maxLength: 100

Company ID for billing

specialInstructions
​string · maxLength: 5000

Special handling instructions

Orders - Create Order Booking › Responses

Order successfully created

status
​string

Result status

messsage
​string

Human-readable result message

objectId
​string

Unique identifier for the created order card

orderId
​string

Unique identifier for the created order (same value as objectId)

orderGuid
​string

GUID identifier for the order

orderNumber
​string

Order number

createdAt
​string · date-time

Timestamp when order was created

warnings
​string[]

Permission or field warnings when the order was created with partial field updates


Locations - Get Locations

GET
https://carriercloud.ai
/v1/partner/{partnercode}/locations

Get a paginated list of location cards for a partner. Optionally filter by companyId (case-sensitive).

Locations - Get Locations › path Parameters

partnercode
​string · required

Partner code of the company whose data this request reads or writes (its VIA company code, for example MIST). Your API key identifies your own company; the request succeeds only when the two companies have an approved, API-enabled partnership in the Partner Network. Use Get Active Partners to list the codes available to you.

Locations - Get Locations › query Parameters

page
​integer · int32

Page number to return, starting at 1. Omit for the first page.

companyId
​string

Filter by companyId (case-sensitive). Omit or leave blank for no filter.

Locations - Get Locations › Headers

Authorization
​string · required

The Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.

Locations - Get Locations › Responses

Locations retrieved successfully

status
​string

Result status

page
​integer · int32

Current page number

pageSize
​integer · int32

Number of locations returned per page

totalCount
​integer · int32

Total number of matching locations

​object[]

Location cards for the current page


Locations - Create Location

POST
https://carriercloud.ai
/v1/partner/{partnercode}/locations

Create a new location card for a partner. Optional role-specific data may be supplied under Roles (Shipper, Consignee, BillTo, Terminal, TruckStop, Agent, WashFacility). Partner-network role permissions determine which fields may be set on the created card.

Locations - Create Location › path Parameters

partnercode
​string · required

Partner code of the company whose data this request reads or writes (its VIA company code, for example MIST). Your API key identifies your own company; the request succeeds only when the two companies have an approved, API-enabled partnership in the Partner Network. Use Get Active Partners to list the codes available to you.

Locations - Create Location › Headers

Authorization
​string · required

The Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.

Locations - Create Location › Request Body

title
​string · maxLength: 200 · required
boardId
​string
listId
​string
description
​string · maxLength: 2000
CompanyId
​string · maxLength: 100
CompanyName
​string · maxLength: 200
Contact
​string · maxLength: 200
Address1
​string · maxLength: 200
Address2
​string · maxLength: 200
City
​string · maxLength: 100
State
​string · maxLength: 50
ZipCode
​string · maxLength: 20
PrimaryPhone
​string · maxLength: 50
SecondaryPhone
​string · maxLength: 50
Fax
​string · maxLength: 50
Email
​string · maxLength: 200
Latitude
​string · maxLength: 50
Longitude
​string · maxLength: 50
ExternalId
​string · maxLength: 100
​object[]
​object

Locations - Create Location › Responses

Location successfully created

status
​string

Result status when present

_id
​string

Location card identifier

locationId
​string

Location card identifier (207 partial-success responses)

boardId
​string
cardtype
​string
​object
warnings
​string[]

Permission warnings when some requested fields were not set


Orders - Get Order Detail

GET
https://carriercloud.ai
/v1/partner/{partnercode}/orders/{orderid}

Get details of a specific order.

Orders - Get Order Detail › path Parameters

partnercode
​string · required

Partner code of the company whose data this request reads or writes (its VIA company code, for example MIST). Your API key identifies your own company; the request succeeds only when the two companies have an approved, API-enabled partnership in the Partner Network. Use Get Active Partners to list the codes available to you.

orderid
​string · required

Order identifier as returned by Get Orders or Create Order Booking.

Orders - Get Order Detail › Headers

Authorization
​string · required

The Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.

Orders - Get Order Detail › Responses

The order as a one-element array of stored card documents (empty array when the id is unknown).

​object[]
A platform card as stored, returned without reshaping. `_source.carddata` holds the card's fields; its keys depend on the card type (order, customerorder, truck, trailer, driver).
_id
​string

Card identifier.

​object

Orders - Update Order Booking

PUT
https://carriercloud.ai
/v1/partner/{partnercode}/orders/{orderid}

Update an existing transportation order for a partner. Nested stop, reference, and freight updates require the _id or DataGUID values from the existing order. Partner-network role permissions determine which fields may be updated.

Orders - Update Order Booking › path Parameters

partnercode
​string · required

Partner code of the company whose data this request reads or writes (its VIA company code, for example MIST). Your API key identifies your own company; the request succeeds only when the two companies have an approved, API-enabled partnership in the Partner Network. Use Get Active Partners to list the codes available to you.

orderid
​string · required

Order identifier as returned by Get Orders or Create Order Booking.

Orders - Update Order Booking › Headers

Authorization
​string · required

The Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.

Orders - Update Order Booking › Request Body

EquipmentSelection
​string · maxLength: 50
ServiceType
​string · maxLength: 50
Driver1
​string · maxLength: 200
Driver2
​string · maxLength: 200
DriverPhone
​string · maxLength: 50
Tractor
​string · maxLength: 100
Trailer
​string · maxLength: 100

Orders - Update Order Booking › Responses

Order successfully updated

status
​string

Result status

warnings
​string[]

Permission warnings when some requested fields were not updated


Orders - Cancel Order Booking

DELETE
https://carriercloud.ai
/v1/partner/{partnercode}/orders/{orderid}

Cancel an order booking and remove it from the system.

Orders - Cancel Order Booking › path Parameters

partnercode
​string · required

Partner code of the company whose data this request reads or writes (its VIA company code, for example MIST). Your API key identifies your own company; the request succeeds only when the two companies have an approved, API-enabled partnership in the Partner Network. Use Get Active Partners to list the codes available to you.

orderid
​string · required

Order identifier as returned by Get Orders or Create Order Booking.

Orders - Cancel Order Booking › Headers

Authorization
​string · required

The Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.

Orders - Cancel Order Booking › Responses

Order booking cancelled (archived).

Result returned by the processing workflow. Its fields depend on the partner's configuration; treat the HTTP status as the outcome and the body as informational.

Quotes - Create Order Quote

POST
https://carriercloud.ai
/v1/partner/{partnercode}/quotes

Create a quote for a tentative or pending shipment.

Quotes - Create Order Quote › path Parameters

partnercode
​string · required

Partner code of the company whose data this request reads or writes (its VIA company code, for example MIST). Your API key identifies your own company; the request succeeds only when the two companies have an approved, API-enabled partnership in the Partner Network. Use Get Active Partners to list the codes available to you.

Quotes - Create Order Quote › Headers

Authorization
​string · required

The Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.

Quotes - Create Order Quote › Responses

The created quote.

Upstream result; the field set is not published and may change. Treat the HTTP status as the outcome.

Orders - Get Order Documents

GET
https://carriercloud.ai
/v1/partner/{partnercode}/orders/{orderid}/documents

Get Documents and Images for a specific order.

Orders - Get Order Documents › path Parameters

partnercode
​string · required

Partner code of the company whose data this request reads or writes (its VIA company code, for example MIST). Your API key identifies your own company; the request succeeds only when the two companies have an approved, API-enabled partnership in the Partner Network. Use Get Active Partners to list the codes available to you.

orderid
​string · required

Order identifier as returned by Get Orders or Create Order Booking.

Orders - Get Order Documents › Headers

Authorization
​string · required

The Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.

Orders - Get Order Documents › Responses

Documents attached to the order that your partner role may see.

​object[]
A document attached to the order. Keys beyond the two below depend on how the document was stored.
name
​string
documentTypeAbbr
​string

Document type code, for example BOL or POD.


Quotes - Get Quote Details

GET
https://carriercloud.ai
/v1/partner/{partnercode}/quotes/{quoteid}

Get Quote details by Quote ID.

Quotes - Get Quote Details › path Parameters

partnercode
​string · required

Partner code of the company whose data this request reads or writes (its VIA company code, for example MIST). Your API key identifies your own company; the request succeeds only when the two companies have an approved, API-enabled partnership in the Partner Network. Use Get Active Partners to list the codes available to you.

quoteid
​string · required

Quote identifier as returned by Create Order Quote.

Quotes - Get Quote Details › Headers

Authorization
​string · required

The Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.

Quotes - Get Quote Details › Responses

The quote.

Upstream result; the field set is not published and may change. Treat the HTTP status as the outcome.

Orders - Get GPS Positions

GET
https://carriercloud.ai
/v1/partner/{partnercode}/orders/{orderguid}/positions

Get GPS tracking history for a given order

Orders - Get GPS Positions › path Parameters

partnercode
​string · required

Partner code of the company whose data this request reads or writes (its VIA company code, for example MIST). Your API key identifies your own company; the request succeeds only when the two companies have an approved, API-enabled partnership in the Partner Network. Use Get Active Partners to list the codes available to you.

orderguid
​string · required

Order identifier as returned by Get Orders or Create Order Booking.

Orders - Get GPS Positions › query Parameters

page
​integer · int32

Page number to return, starting at 1. Omit for the first page.

Orders - Get GPS Positions › Headers

Authorization
​string · required

The Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.

Orders - Get GPS Positions › Responses

Positions recorded for the order's load.

​object[] · required

Newest positions, at most 100 per call.

moreAvailable
​boolean · required

True when more positions exist than were returned; narrow the time window to see them.


Locations - Update Location

PUT
https://carriercloud.ai
/v1/partner/{partnercode}/locations/{id}

Update a location card by id. Optional role-specific data may be supplied under Roles (Shipper, Consignee, BillTo, Terminal, TruckStop, Agent, WashFacility). Partner-network role permissions determine which fields may be updated.

Locations - Update Location › path Parameters

partnercode
​string · required

Partner code of the company whose data this request reads or writes (its VIA company code, for example MIST). Your API key identifies your own company; the request succeeds only when the two companies have an approved, API-enabled partnership in the Partner Network. Use Get Active Partners to list the codes available to you.

id
​string · required

The location card id

Locations - Update Location › Headers

Authorization
​string · required

The Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.

Locations - Update Location › Request Body

boardId
​string
listId
​string
title
​string · maxLength: 200
description
​string · maxLength: 2000
CompanyId
​string · maxLength: 100
CompanyName
​string · maxLength: 200
Contact
​string · maxLength: 200
Address1
​string · maxLength: 200
Address2
​string · maxLength: 200
City
​string · maxLength: 100
State
​string · maxLength: 50
ZipCode
​string · maxLength: 20
PrimaryPhone
​string · maxLength: 50
SecondaryPhone
​string · maxLength: 50
Fax
​string · maxLength: 50
Email
​string · maxLength: 200
Latitude
​string · maxLength: 50
Longitude
​string · maxLength: 50
ExternalId
​string · maxLength: 100
​object[]
​object

Locations - Update Location › Responses

Location successfully updated

status
​string