Download OpenAPI specification:Download
This page lists the REST services exposed by *api.shipnsd.com/rate/v1*.
An API key is required to invoke the services. Contact the service owner to get your API key.
The rate quote API is using TMW TRUCKMATE Rate Quote SOAP Web Service. Example cURL statement
curl -XPOST -d '{"param1":"value1","param2":"value2"}' -H 'API-TOKEN: YOUR_TOKEN' 'https://api.shipnsd.com/rate/v1'
Example using JWT or OAuth 2.0 token
curl -XPOST -d '{"param1":"value1","param2":"value2"}' -H 'Authorization: Bearer YOUR_TOKEN' 'https://api.shipnsd.com/rate/v1'
clientID required | string Client account number in NSD system, if you don't have this number it can be provided by your account representative |
transportationMode required | string Mode of transportation. Supported values are: LM for Last Mile service, or DD Door to Door service. Please refer to the business agreement for selection of proper mode. |
orderType required | string This is the type of order. Supported values are: DELIVERY for delivery order, or RETURN for return order. |
serviceLevel required | string Supported values are: BASIC, BASICPLUS, THRESHOLD, ROC, WHITEGLOVE, DELUXE. Please refer to the business agreement for selection of proper service level. |
declaredValue | number What is the declared value of the item? Ignore or enter 0 if your contract does not include declared value pricing |
required | object |
required | object |
required | Array of objects |
{- "clientID": "string",
- "transportationMode": "string",
- "orderType": "string",
- "serviceLevel": "string",
- "declaredValue": 0,
- "origin": {
- "id": "string",
- "city": "string",
- "state": "string",
- "zip": "string"
}, - "destination": {
- "id": "string",
- "city": "string",
- "state": "string",
- "zip": "string"
}, - "productDetails": [
- {
- "pieceCount": "string",
- "weight": "string",
- "width": "string",
- "length": "string",
- "height": "string"
}
]
}
{- "rate": 0,
- "quoteNumber": "string"
}