General Information
The pallet rates will only be returned if the request matches the customer’s pallet rate tariff. If an invalid pallet info passed in, a normal class rate will be applied, based on the items node info with no indication that anything wrong was passed in.
Examples of invalid pallet info:
- Pallet code not valid for that customer
- Pallet code not valid for that lane
- Weight is over max weight in tariff
- Number of pallets is over max pallet number in tariff
Getting Pallet Rates
The following section must be provided in the rate quote request, an example is below:
{
"Pallets": {
"Pallet": {
"Code": 21,
"Weight": 600,
"Quantity": 1
}
}
}
This section is needed to be provided as well and will be used to generate a NORMAL rate quote if the pallet info is invalid (see list above).
{
"Items": {
"Item": {
"Class": 70,
"Weight": 100,
"Width": 22,
"Height": 25,
"Length": 50
}
}
}
Confirming Pallet Rates
To confirm the pallet rates are provided, check the response for a charge in the Charges array with a type of ‘PALLET’
{
"Charge": {
"Type": "PALLET",
"Title": "1 Engine/Trans/Differentials",
"Weight": "",
"Rate": "$281.10",
"Amount": "$281.10"
}
}
Do not be alarmed by the ‘GROSS’ charge, which will not have the pallet weight you passed in, but instead be populated by the weight in the item node (the one that was ignored) .
{
"Charge": {
"Type": "GROSS",
"Title": "Gross Charge",
"Weight": 1,
"Rate": "",
"Amount": "$281.10"
}
}
Multiple Pallet Rates
A customer can submit multiple pallet codes in the same request, but we don’t allow more than one entry for each pallet code in a request.
A user cannot submit a quote with one pallet weighing 300, and another weighing 400 with the same code like below:
{
"Pallets": {
"Pallet": [
{
"Code": 21,
"Weight": 400,
"Quantity": 1
},
{
"Code": 21,
"Weight": 300,
"Quantity": 1
}
]
}
}
To get the rates for two pallets, the user would have to combine the weight and increase the quantity to 2. The weight of the individual pallets doesn’t affect the rates, but the quantity does.
{
"Pallets": {
"Pallet": {
"Code": 21,
"Weight": 700,
"Quantity": 2
}
}
}
To submit multiple pallet codes in the same request, it could be done this way:
{
"Pallets": {
"Pallet": [
{
"Code": 272,
"Weight": 150,
"Quantity": 1
},
{
"Code": 624,
"Weight": 200,
"Quantity": 1
}
]
}
}
Additional Information
GetPalletTypeByPoints() method will return a list of valid pallet codes for that customer and that lane.
GetPalletTypes() method provides every pallet type and the appropriate code.