Authorizations
Body
This endpoint accepts a JSON request body that calculates shipping rates based on various parameters. The request includes details about the accounts involved, caller type, currency, label format, parcel specifications (such as dimensions and weight), shipping addresses, optional service attributes, and the shipment date.
The identifier of the fulfilment node processing the shipment.
"NODE123"
A list of account information for the rate request.
[
{
"accountNumber": "AC0088",
"accountType": "SHIPPER"
},
{
"accountNumber": "AC0077",
"accountType": "WMS"
}
]
Defines the type of the caller submitting the rate request (e.g., WMS).
"WMS"
The currency for the rate request (e.g., USD).
"USD"
The format for the generated shipping labels (e.g., PDF).
"PDF"
A list of parcels to be rated, with details about their dimensions, weight, and shipping attributes.
Flag indicating whether all service attributes should be included in the response.
true
Flag indicating whether time and transit details (TNT) should be included in the response.
true
The date and time of the shipment (ISO 8601 format).
"2024-12-22T06:34:00"
Sort order for the returned rates (e.g., 'rate' to sort by price).
"rate"
Response
All successful rate responses.
"USD"
[
{
"dimensions": {
"height": 4,
"length": 4,
"unit": "inch",
"width": 4
},
"parcelType": "P",
"pickupType": "Pickup",
"quoteId": "301312f9-500a-4e6a-8976-aad12db55e8c",
"rates": [
{
"baseRate": 4.59,
"destinationSortHub": "KEARNY",
"serviceAttributes": [{ "available": false, "key": "AD_SIGN" }],
"serviceType": "GRD",
"surcharges": [
{
"code": "FUEL",
"description": "Carrier Fuel SurCharge",
"rate": 0.23
}
],
"tnt": "3 - 7 days",
"totalRate": 4.82,
"zone": 1
}
],
"referenceId": "testRefId",
"serviceType": "GRD",
"shipDate": "2024-08-22T06:34:00",
"shipFrom": {
"address1": "1500 Marilla Street",
"address2": "",
"addressType": "B",
"city": "Dallas",
"company": "Dallas City Hall",
"country": "US",
"email": "",
"name": "The City Secretary's Office",
"phone": "",
"state": "TX",
"zip": "75201"
},
"shipTo": {
"address1": "210 Joralemon St",
"address2": "",
"addressType": "B",
"city": "Brooklyn",
"company": "Municipal Building",
"country": "US",
"email": "",
"name": "Brooklyn Municipal Building",
"phone": "212-669-8090",
"state": "NY",
"zip": "11201"
},
"weight": { "unit": "lb", "value": 6 }
}
]