Our Furniture APIs provide a way to seamlessly integrate authentication, rate retrieval, listing your shipment, and retrieving tracking events and data. For the differences between this direct integration and our Shopify integration, please see our Furniture and Home API Guide. For the request body, order of operations, and more details on listing furniture directly via API, please see our Direct Furniture Integrations guide. Please use https://apisandbox.uship.com for your sandbox/staging environment and https://api.uship.com for production.

Authentication

Our API now uses a Self Service API Key instead of OAuth tokens. Users who want to get an API key must navigate to a certain web page to get their Self Service API Key.

To obtain your Self Service API Key:

  1. Navigate to API Key Generation Page.
  2. Follow the instructions to obtain your Self Service API Key.
  3. Include the Self Service API Key in the Authorization header as a Bearer token for all requests: Authorization: Bearer <Self Service API Key>.

Server
https://api.uship.com
https://api.ushipsandbox.com
Server Variables
apiKey Bearer

Use "Bearer " to authenticate.

Fields
KeyIn
AuthorizationHeader

Fixed Price

Retrieve shipping cost

Provides fixed price information for the cost of a carrier shipping household goods in the US and Canada only.

Auth
Headers
Content-Typestring

application/x-www-form-urlencoded

Request Body

Container for items to be rated and shipped. Used to wrap multiple or single items for rating.

objectobject

Request body for the FixedPrice API

sourcestring

The shipper's alpha numeric company name all lower case and together, no special characters

insuranceobject

Amount of protection declared for shipment

coverageAmountobject
amountnumber

Amount of coverage desired

currencyTypestring

Currency referenced, example USD

originPostalCodestring

Origin zip code

destinationPostalCodestring

Destination zip code

itemsarray[object]
heightInMetersnumber

The height of the object in meters

widthInMetersnumber

The width of the object in meters

lengthInMetersnumber

The length of the object in meters

weightInGramsint32

The weight of the object in grams

unitCountint32
userIdstring

userId for pricing estimates

priceCorrelationIdstring

priceCorrelationId to correlate the estimated price with the listing

commoditystring

commodity of the shipment

originCountryCodestring

country code where the shipment is originating

destinationCountryCodestring

country code where the shipment is destined

POST /v2/fixedprice
Copy
Responses
200

OK

objectobject

Fixed Price Response Model

pricenumber

Total price including uShip service charges

nypAmountnumber

Name your price which is total price excluding uShip service charges

priceCorrelationIduuid

User generated UUID/GUID

insuranceQuoteobject
premiumobject

The cost for protection coverage (This should be added to shipment pricing in listing)

amountnumber
currencyTypestring
coverageAmountobject
amountnumber
currencyTypestring
400

Invalid or missing parameter.

401

Unauthorized

Response
Copy

Retrieve listing contacts

This endpoint allows you to retrieve contact information associated with the shipper and service provider after listing has been booked

Auth
Path Params
listingIdinteger
GET /v2/listings/{listingId}/contacts
Copy
Responses
200

200 OK

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

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

200 OK

Response
Copy

Creating an IHD Listing

Auth
Headers
Content-Typestring

application/x-www-form-urlencoded

Request Body

Request body for v2 Listings POST request

POST /v2/listings
Responses
201

Created

objectobject

Created

401

Unauthorized

Response
Copy

Retrieves IHD listing by ID

Auth
Path Params
listingIdnumber

ID provided when IHD listing is created

GET /v2/listings/{listingId}
Copy
Responses
200

Succesfully retrieved

401

Invalid credentials

Response
Copy

Edits IHD listing by ID

Auth
Path Params
listingIdnumber

ID provided when IHD listing is created

Request Body

Body from the GET v2/listings/{listingId} response

PUT /v2/listings/{listingId}
Responses
204

Confirms the edit was successful

No response body
401

Credentials are invalid

Response
Copy

Bill Of Lading

Get the preSigned url for bill of lading

Auth
Headers
Authorizationstring

Required Authorization header containing access token

Path Params
idstring
GET /v2/listings/{id}/billoflading
Copy
Responses
200

200 response

v2ListingBillofLadingGet200Responseobject
billOfLadingNumbernumber
documentobject

pre-signed url to access the bill of lading

hrefstring

pre-signed url

401

Unauthorized

403

Forbidden

404

Not Found

500

Internal server error

Response
Copy

transit status changed webhook

Request Body

Information about the booked transit status change

POST ShipmentTransitStatusChanged
Copy
Responses
200

Return a 200 status to indicate that the data was received successfully

No response body
Response
Copy