Our vehicle shipping API package gives shippers the tools to instantly get shipping costs, booking information and tracking data from the comfort of their user interface. For more details, order of operations, and FAQ, please see our Cars and Light Trucks API Guide.

Server
www.uship.com
Server Variables

Bearer token for searching and rates

Auth
Headers
grant_typestring

Enter 'client_credentials'

client_idstring

The unique ID provided to you by uShip for integrating

client_secretstring

The unique ID secret provided alongside your client ID by uShip

POST /oauth/token
Copy
Responses N/A
200

Successfully authenticated

objectobject
access_tokenstring

example value "3z8co7d86ytn65h567vdzyfb"

token_typestring

bearer

expires_ininteger

The number of seconds the token is valid for. Sets to 600

refresh_tokenstring

example value "3c8od7y86hold65d567enbrla"

Response
Copy

Bearer token for booking, tracking, listing

Auth
Headers
grant_typestring

Enter 'password'

usernamestring

Your uShip user name

passwordstring

The password for your uShip account

client_idstring

The unique ID provided to you by uShip for integrating

client_secretstring

The unique ID secret provided alongside your client ID by uShip

POST /oauth/token_authenticated
Copy
Responses N/A
200

Successfully authenticated

objectobject
access_tokenstring

example value "3z8co7d86ytn65h567vdzyfb"

token_typestring

bearer

expires_ininteger

The number of seconds the token is valid for. Sets to 600

refresh_tokenstring

example value "3c8od7y86hold65d567enbrla"

Response
Copy

Lookup values for car

Returns valid models. Omit the make to return valid makes and omit the year to return valid years. Cars are supported from 1981 to the current year. Use if not leveraging VIN for year, make and model rate retrieval.

Auth
Headers
Acceptstring

application/json

Authorizationstring

Bearer {your bearer token}

Content-Typestring

application/json

GET /v2/lookups/vehicles/CarsLightTrucks/year/make
Copy
Responses application/json
200

200 OK

objectobject
itemsobject
modelstring

Elantra Wagon

valuestring

elantra-wagon

Response
Copy

Rate Retrieval

Receive uShip Logistics rates

Auth
Headers
x-api-keystring

The unique string provided for each integrator by uShip.

Path Params
integratorstring

Name of the client making the request. This parameter value will be supplied by uShip prior to your integration.

Request Body application/json
POST /integration/rates/{integrator}
Copy
Responses application/json
200

OK

arrayarray[object]
referenceNumbersarray[object]
numberstring

Caller system reference number. This number can used to search in uShip. For example, if you select 'Vin' as type, enter the Vin number here to link it to your listing. Multiple values can be added as an array.

typestring

Type of reference number valid types are { Invoice, SalesOrder, Release, ThirdPartyTracking, Vin, Other, Lot, ThirdPartyOrderNumber }

priceobject
valuenumber

The price for shipping the vehicle.

labelstring

Currency with dollars and cents

shortLabelstring

Currency rounded to the nearest dollar

currencyTypeobject
valuestring

The currency code. We currently only support USD for this value.

labelstring

The currency label. We currently only support US Dollar for this value.

shortLabelstring

The abbreviated currency label. We currently only support US Dollar for this value.

checkoutUrlstring

This URL can be delivered to the consumer and will bring them directly to the checkout page for their shipment.

quoteIDstring

This is the ID you can use to book this rate via our Booking Acceptance endpoint

Response
Copy

Allows booking of a rate

Auth
Headers
authorizationstring

Required for every call after initial authorization. The "Bearer" label is case sensitive. There must be a space between this authorization label and the access token string i.e Bearer {access token}.

content-typestring

Set this value to application/json

Path Params
rateIdstring

The id received when obtaining your rate request

Query String
checksumstring
Request Body application/json
objectobject

The input model for booking your rate

payOnTermsboolean

Indicates whether the user is on Pay on Terms. Set to 'true' or 'false'

insuranceobject

Insurance information for accepting the rate

coveragestring

The amount of insurance coverage for the shipment

POST /v2/rates/{rateId}/acceptance
Copy
Responses N/A
201

Your rate has been booked.

No response body
Response
Copy

Retrieve tracking info

This endpoint allows you to retrieve latitude/longitude values, transit status, and the most recent location or address. If a recent location is not provided, these will be absent from the response.

Auth
Headers
client_idstring

The unique ID provided to you by uShip for integrating

client_secretstring

The unique ID secret provided alongside your client ID by uShip

Authorizationstring

Bearer {your bearer token}

Path Params
listingIdinteger
GET /v2/listings/{listingId}/track
Copy
Responses N/A
200

200 OK

Response
Copy