Download OpenAPI specification:Download
This page lists the REST services exposed by *api.staging.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.staging.shipnsd.com/rate/v1'
Example using JWT token
curl -XPOST -d '{"param1":"value1","param2":"value2"}' -H 'Authorization: Bearer YOUR_JWT_TOKEN' 'https://api.staging.shipnsd.com/rate/v1'
clientID | string Client account number in NSD system, if you don't have this number it can be provided by your account representative |
transportationMode | 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 | string This is the type of order. Supported values are: DELIVERY for delivery order, or RETURN for return order. |
serviceLevel | 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 |
origin | object |
destination | object |
productDetails | Array of objects |
Success reply
Unauthorized
Processing error
Server error
{- "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"
}