LTL Shipment Cost Compare API
Compare the estimated cost between a less than truckload (LTL) shipment and small package shipping with Shipium's LTL Shipment Cost Compare API.
Get started
To use the LTL Shipment Cost Compare API, you must first configure your account. Guidance can be found in the LTL (Less Than Truckload) Shipments documentation. This document provides instructions for using the API.
The LTL Shipment Cost Compare API assumes you're using one of the authentication mechanisms detailed in our authentication documentation.
Authentication for API CallsIn the cURL example on this page, the environment variable
AUTHSTRINGis used to handle authorization. The recipe below shows how to set it correctly for both API Key and OAuth users.
Test modeWant to run some examples and not charge any real money against your account?
You can add
testMode: "true" to the data passed to any label call to retrieve labels without charging money in a carrier-specific manner. Most carriers will mark their labels in a way to make clear that they are void, such as inserting "VOID" throughout the label or using a predefined ID.The examples below contain the
testModeflag to err on the side of caution – remove it to make production calls.
When to use the LTL Shipment Cost Compare endpoint
Use the LTL Shipment Cost Compare API when you want to determine whether it's more economical to ship via LTL or parcel. This endpoint runs both LTL and parcel carrier selection in parallel and returns a recommendation based on cost.
This is the right endpoint when:
- You want a side-by-side LTL vs. parcel cost comparison. The endpoint returns both LTL and parcel pricing, plus a
recommendedTransportationTypeindicating the less expensive viable option. - You want to programmatically route shipments to the cheaper mode. Your integration can read
recommendedTransportationTypeand act accordingly. - You want to retroactively evaluate past shipments. Use
existingShipmentIdsto compare what a previously shipped order would cost as LTL versus its current parcel rate. Live re-rating ensures your comparison reflects current market rates.
If you've already decided to ship LTL and only need LTL pricing, you'll want to use the LTL Shipment Cost API instead.
Compare LTL and small package shipping costs
The endpoint for comparing the estimated cost between LTL and small package shipping is included in the following table.
| API type | API endpoint |
|---|---|
| POST | https://api.shipium.com/api/v1/ltl/shipment/costCompare |
Choose an input method
The API supports three mutually exclusive (but combinable) methods for providing shipment data. At least one must be populated:
- shipments (inline). Use when you want to provide full package details in a single API call without pre-creating shipments. This is the most common path for customers evaluating LTL vs. parcel at the point of shipment creation.
- packedShipments. Use when the load is already palletized or configured. Items in
packedShipmentsare used for LTL costing only and are excluded from parcel comparison. - existingShipmentIds. Use when you've already created Shipium shipments and want to retroactively compare LTL versus parcel pricing.
You can combine input methods in a single request. Items from existingShipmentIds and shipments are included in both the LTL load and the parcel comparison; items from packedShipments contribute only to the LTL load.
Request and response fields for API calls
The following tables provide required, conditional, and optional fields for calling the LTL Shipment Cost Compare API. Fields are organized by their parent objects to reflect the request structure. You can find additional support in the LTL Shipment Cost Compare API Reference.
Top-level request fields
Required fields
Field | Details |
|---|---|
| Type: String |
Conditional fields
Field | Details |
|---|---|
| Type: Array of |
| Type: Array of |
| Type: Array of strings |
Optional fields
Field | Details |
|---|---|
| Type: Integer (int32) |
| Type: String |
| Type: Boolean |
| Type: Boolean |
| Type: String |
| Type: String (date-time) |
| Type: String |
| Type: Boolean |
desiredDeliveryDateOptions fields
All fields in this object are optional. You can find more information about desired delivery date options in Desired, Exact, & Guaranteed Delivery Dates.
Field | Details |
|---|---|
| Type: Boolean |
| Type: Boolean |
| Type: String |
| Type: String |
destinationAddress fields
Required fields
Field | Details |
|---|---|
| Type: String |
| Type: String |
| Type: String (enumeration) |
Conditional fields
Field | Details |
|---|---|
| Type: String |
| Type: String |
Optional fields
Field | Details |
|---|---|
| Type: String |
| Type: String |
| Type: String |
| Type: String |
| Type: String |
| Type: String |
| Type: String |
shipFromAddress fields
Required fields
Field | Details |
|---|---|
| Type: String |
| Type: String |
Optional fields
Field | Details |
|---|---|
| Type: String |
| Type: String |
| Type: String |
| Type: String |
| Type: String |
| Type: String |
| Type: String |
| Type: String |
| Type: String |
| Type: String (enumeration) |
returnToAddress fields
Conditional fields
Field | Details |
|---|---|
| Type: String |
| Type: String |
Optional fields
Field | Details |
|---|---|
| Type: String |
| Type: String |
| Type: String |
| Type: String |
| Type: String |
| Type: String |
| Type: String |
| Type: String |
| Type: String |
| Type: String (enumeration) |
units fields
All fields in this object are required.
Field | Details |
|---|---|
| Type: String |
| Type: String (enumeration) |
| Type: String (enumeration) |
ltlShipmentParameters fields
Required fields
Field | Details |
|---|---|
| Type: String (enumeration) |
| Type: String (enumeration) |
| Type: String |
Optional fields
Field | Details |
|---|---|
| Type: Array of strings |
| Type: String |
| Type: String (enumeration) |
| Type: Array of strings (enumeration) Values: |
| Type: Array of strings (enumeration) Values: |
| Type: Array of strings (enumeration) |
ltlShipmentParameters.billToContact fields
The bill-to-contact fields refer to the entity that should be billed for the LTL shipment; by default, the carrier contracts in the fulfillment context will be used for billing. Either the addressLineComponents or the other address fields should be provided.
Required fields
Field | Details |
|---|---|
| Type: String |
| Type: String |
| Type: String |
Optional fields
Field | Details |
|---|---|
| Type: String (enumeration) |
| Type: String |
| Type: String |
| Type: String |
| Type: String |
| Type: String |
| Type: String |
| Type: String |
| Type: String |
| Type: String |
ltlShipmentParameters.collectOnDelivery fields
Conditional fields
Field | Details |
|---|---|
| Type: Number (float) |
| Type: String |
ltlShipmentParameters.hazmatContact fields
Conditional fields
Field | Details |
|---|---|
| Type: String |
| Type: String |
Optional fields
Field | Details |
|---|---|
| Type: String |
| Type: String |
ltlShipmentParameters.packagingOptions fields
Conditional fields
Field | Details |
|---|---|
| Type: String (enumeration) |
| Type: Number (float) |
| Type: Number (float) |
| Type: String (enumeration) |
| Type: Number (float) |
| Type: Number (float) |
| Type: String (enumeration) |
| Type: Number (float) |
packedShipments fields
Required fields
Field | Details |
|---|---|
| Type: Number (float) |
| Type: Number (float) |
| Type: String (enumeration) |
| Type: Number (float) |
| Type: String (enumeration) |
| Type: Number (float) |
| Type: String |
Conditional fields
Field | Details |
|---|---|
| Type: Number (float) |
| Type: String |
Optional fields
Field | Details |
|---|---|
| Type: String (enumeration) |
shipments fields
Optional fields
Field | Details |
|---|---|
| Type: String |
| Type: String |
| Type: String |
| Type: String |
| Type: String |
| Type: String |
| Type: String |
| Type: String (date-time) |
| Type: String |
shipments.packages fields
Required fields
Field | Details |
|---|---|
| Type: String |
Optional fields
Field | Details |
|---|---|
| Type: String |
| Type: String (date-time) |
shipments.packages.orderItemQuantities fields
Required fields
Field | Details |
|---|---|
| Type: String |
| Type: String |
| Type: Integer (int32) |
Conditional fields
Field | Details |
|---|---|
| Type: Array of strings |
Optional fields
Field | Details |
|---|---|
| Type: String |
| Type: String |
| Type: String |
| Type: String |
| Type: Boolean |
| Type: String |
| Type: String |
shipments.packages.orderItemQuantities.hazmatInfo fields
For information on shipping hazmat items, see Hazardous Materials.
Conditional fields
Field | Details |
|---|---|
| Type: String (enumeration) |
| Type: Number (float) |
| Type: String (enumeration) |
| Type: String (enumeration) |
| Type: String (enumeration) |
| Type: String |
| Type: String |
| Type: String (enumeration) |
| Type: String (enumeration) |
Optional fields
Field | Details |
|---|---|
| Type: String (enumeration) |
| Type: String |
| Type: String |
shipments.packages.packagingType fields
Conditional fields
Field | Details |
|---|---|
| Type: String (enumeration) |
| Type: String |
| Type: String (enumeration) |
| Type: Number (float) |
| Type: Number (float) |
| Type: Number (float) |
Optional fields
Field | Details |
|---|---|
| Type: String |
| Type: String (enumeration) |
| Type: Number (float) |
shipments.packages.totalWeight fields
All fields in this object are optional.
Field | Details |
|---|---|
| Type: String (enumeration) |
| Type: Number (float) |
shipments.packages.totalDeclaredValue fields
All fields in this object are optional.
Field | Details |
|---|---|
| Type: Number (float) |
| Type: String |
packageShipmentParameters fields
These are parameters for small package carrier selection comparison. All fields in this object are optional.
Field | Details |
|---|---|
| Type: Array of strings |
| Type: String (enumeration) |
| Type: Object |
| Type: Boolean |
| Type: Array of strings |
| Type: String (enumeration) |
| Type: Boolean |
| Type: Boolean |
| Type: Boolean |
| Type: Object |
| Type: String (date-time) |
| Type: Boolean |
| Type: Array of strings |
| Type: String |
| Type: String |
packageShipmentParameters.injectionParameters fields
Conditional fields
Field | Details |
|---|---|
| Type: String |
Optional fields
Field | Details |
|---|---|
| Type: String |
packageShipmentParameters.lastMileDeliveryOptions fields
All fields in this object are optional.
Field | Details |
|---|---|
| Type: String (enumeration) |
| Type: String (enumeration) |
| Type: String (enumeration) |
| Type: Number (float) |
| Type: String |
| Type: String (enumeration) |
| Type: Number (float) |
| Type: String |
| Type: String (enumeration) |
| Type: String (enumeration) |
Response attributes
The primary response attributes of the LTL Shipment Cost Compare API are described in the following table. Elements included in the above request table that are also returned in the API response are not included here.
Response attribute | Description |
|---|---|
| The Shipium-generated unique ID of the LTL cost, for reference |
| An optional unique identifier that may be used for this LTL cost |
| The timestamp passed in by your organization (or your fulfillment partner) for the intended date the package will arrive to the customer; the timestamp must be a valid ISO 8601 timestamp. |
| Whether using LTL or small package shipping will be less expensive, and able to meet the request parameters ( |
| The cost of using the recommended transportation type for this shipment |
| The transportation type used for this cost estimate ( |
| The cost of using this transportation type for the shipment; this will be zero if no carrier could be found for this shipment. |
| How the packages in the LTL shipment are packaged or should be packaged |
| Information about the other carriers that were considered but were not selected because they either can't meet the desired delivery date, can't carry the shipment, can't pick up the shipment on the requested date, or cost more than the selected carrier. This attribute requires |
| Information about the selected carrier |
| The least expensive quoted cost of the shipment, using LTL; this will be zero in the case that no carrier could be selected. |
| Request parameters that informed LTL costing and carrier selection |
| How much it would cost to ship all of the packages individually |
| Information about each package's carrier selection |
| Summary of what happened during package carrier selection:
|
| Request parameters that informed package shipments and carrier selection; this information is only present if these parameters were in the cost request. |
| The already packed LTL shipments that should be included in this LTL shipment; items in this list are used for LTL costing and do not have their packaging modified, nor are eligible for package carrier selection. Items in this list do not have corresponding Shipium shipments. |
| An array of objects containing |
Example cURL call
curl --request POST
--url <<api_url>>/api/v1/ltl/shipment/costCompare
--header 'accept: application/json'
--header $AUTHSTRING
--header 'content-type: application/json'
--data 'INSERT REQUEST BODY FROM BELOW'Example request using shipments
shipmentsThis scenario includes sending full package details in a single API call and getting a side-by-side LTL vs. parcel comparison. This is the most common path for customers evaluating mode selection at the point of shipment.
{
"shipFromAddress": {
"company": "Harbor Glass Works",
"street1": "4120 Seaport Ave",
"city": "Oakland",
"state": "CA",
"countryCode": "US",
"postalCode": "94607",
"addressType": "commercial"
},
"destinationAddress": {
"company": "Rainier Retail Distribution",
"street1": "8800 Cascade Blvd",
"city": "Kent",
"state": "WA",
"countryCode": "US",
"postalCode": "98032",
"addressType": "commercial"
},
"shipments": [
{
"partnerShipmentId": "hgw-order-48201",
"packages": [
{
"packagingType": {
"packagingMaterial": "box",
"linearDimensions": {
"linearUnit": "in",
"length": 24,
"width": 18,
"height": 18
}
},
"totalWeight": {
"weightUnit": "lb",
"weight": 145.0
},
"orderItemQuantities": [
{
"productId": "HGW-VASE-LG-CLR",
"quantity": 12,
"nmfcFreightClass": "100",
"productDescription": "Large clear glass vases"
}
]
}
]
}
],
"ltlShipmentParameters": {
"pickupDate": "2026-04-28",
"pricingTypes": ["contractPallet"],
"accessorialCodes": ["APTD"]
},
"packageShipmentParameters": {
"shipOption": "Standard"
},
"partnerLtlCostId": "harborGlass-compare-2026-04-20-002",
"currencyCode": "usd",
"units": {
"currencyCode": "usd",
"linearUnit": "in",
"weightUnit": "lb"
}
}Example response using shipments
shipmentsIn this example, parcel shipping is more economical for this shipment. For multi-pallet loads, LTL typically becomes the more cost-effective choice.
{
"shipiumLtlCostId": "f2b8c376-0e9c-4a6e-ef1c-7c1bde8f6d9c",
"partnerLtlCostId": "harborGlass-compare-2026-04-20-002",
"partnerTenantId": "harbor-glass-default",
"shipiumTenantId": "9c2e4a18-0d83-4f29-8b71-3e6a5d9c1f04",
"shipFromAddress": {
"company": "Harbor Glass Works",
"street1": "4120 Seaport Ave",
"city": "Oakland",
"state": "CA",
"countryCode": "US",
"postalCode": "94607",
"addressType": "commercial"
},
"shipFromTimeZoneId": "America/Los_Angeles",
"destinationAddress": {
"company": "Rainier Retail Distribution",
"street1": "8800 Cascade Blvd",
"city": "Kent",
"state": "WA",
"countryCode": "US",
"postalCode": "98032",
"addressType": "commercial"
},
"destinationTimeZoneId": "America/Los_Angeles",
"recommendedTransportationType": "packageTransportation",
"recommendedTransportationTypeCost": 189.40,
"testMode": false,
"currencyCode": "usd",
"units": {
"currencyCode": "usd",
"linearUnit": "in",
"weightUnit": "lb"
},
"allTransportationTypeCosts": [
{
"transportationType": "ltlTransportation",
"transportationTypeCost": 298.50
},
{
"transportationType": "packageTransportation",
"transportationTypeCost": 189.40
}
],
"ltlCostDetails": {
"loadPackaging": [
{
"details": {
"loadPackagingType": "pallet",
"loadPackagingSize": {
"height": 24,
"length": 48,
"width": 40,
"linearUnit": "in",
"weight": 145.0,
"weightUnit": "lb"
},
"nmfcFreightClass": "100"
},
"shipments": [
{
"partnerShipmentId": "hgw-order-48201",
"shipiumShipmentId": "a3c9d487-1fad-4b7f-f02d-8d2cef9a7eae"
}
]
}
],
"evaluatedCarriers": [],
"selectedCarrier": {
"billableWeight": {
"weightUnit": "lb",
"weight": 145.0
},
"carrier": "R+L Carriers",
"carrierAccountId": "rl-account-default",
"carrierServiceMethodId": "rl-standard-ltl",
"estimatedDeliveryDate": "2026-05-01T17:00:00Z",
"lineItems": [
{
"name": "container",
"rate": 245.00,
"lineItemType": "base_rate",
"nmfcFreightClass": "100",
"weight": {
"weightUnit": "lb",
"weight": 145.0
}
},
{
"name": "Fuel Surcharge",
"rate": 38.50,
"carrierSurchargeId": "FSC",
"lineItemType": "surcharge"
},
{
"name": "Appointment Required at Delivery",
"rate": 15.00,
"carrierSurchargeId": "APTD",
"lineItemType": "surcharge"
}
],
"pickupDateTime": "2026-04-28T16:00:00Z",
"pricingType": "contractPallet",
"quoteId": "rl-quote-7f3e2d91-0428",
"quoteEffectiveDateTime": "2026-04-20T18:30:00Z",
"quoteExpirationDateTime": "2026-04-27T18:30:00Z",
"scacCode": "RLCA",
"serviceLevel": "standard",
"totalCost": 298.50
},
"totalCost": 298.50
},
"ltlShipmentParameters": {
"pickupDate": "2026-04-28",
"pricingTypes": "contractPallet",
"accessorialCodes": "APTD"
},
"packageCostDetails": {
"totalCost": 189.40,
"packageDetails": [
{
"status": "success",
"carrierSelectionId": "cs-8e2a4b71-0428",
"shipiumShipmentId": "a3c9d487-1fad-4b7f-f02d-8d2cef9a7eae",
"partnerShipmentId": "hgw-order-48201",
"partnerId": "harbor-glass",
"carrierAccountId": "fedex-account-default",
"serviceMethodIdentifier": "fedex-ground",
"carrier": "FedEx",
"carrierServiceMethodId": "fedex-ground",
"serviceMethodName": "FedEx Ground",
"totalCost": 189.40,
"carrierCompareCost": 189.40,
"carrierInvoiceCost": 189.40,
"operationalCost": 189.40,
"thirdPartyBilling": false,
"carrierSelectionDateTime": "2026-04-20T18:30:00Z",
"calculatedBillableWeight": {
"weightUnit": "lb",
"weight": 145.0
},
"evaluatedServiceMethods": [],
"effectiveShipDateTime": "2026-04-28T16:00:00Z",
"currencyCode": "usd"
}
],
"status": "success"
},
"packageShipmentParameters": {
"shipOption": "Standard"
},
"shipments": [
{
"partnerShipmentId": "hgw-order-48201",
"shipiumShipmentId": "a3c9d487-1fad-4b7f-f02d-8d2cef9a7eae"
}
]
}Example request using packedShipments
packedShipmentsThis scenario is useful when the load is already palletized or configured. Items in packedShipments contribute to the LTL load only and are not included in the parcel comparison. This input method is often combined with shipments or existingShipmentIds when some items are pre-palletized and others are loose.
{
"shipFromAddress": {
"company": "Harbor Glass Works",
"street1": "4120 Seaport Ave",
"city": "Oakland",
"state": "CA",
"countryCode": "US",
"postalCode": "94607",
"addressType": "commercial"
},
"destinationAddress": {
"company": "Rainier Retail Distribution",
"street1": "8800 Cascade Blvd",
"city": "Kent",
"state": "WA",
"countryCode": "US",
"postalCode": "98032",
"addressType": "commercial"
},
"packedShipments": [
{
"loadPackagingType": "pallet",
"loadPackagingSize": {
"height": 60,
"length": 48,
"width": 40,
"linearUnit": "in",
"weight": 680.0,
"weightUnit": "lb"
},
"nmfcFreightClass": "100",
"declaredValue": {
"amount": 4200.00,
"currency": "usd"
}
}
],
"ltlShipmentParameters": {
"pickupDate": "2026-04-28",
"pricingTypes": ["contractPallet"],
"accessorialCodes": ["APTD"]
},
"packageShipmentParameters": {
"shipOption": "Standard"
},
"partnerLtlCostId": "harborGlass-compare-2026-04-20-003",
"currencyCode": "usd",
"units": {
"currencyCode": "usd",
"linearUnit": "in",
"weightUnit": "lb"
}
}Example response using packedShipments
packedShipmentsThis example response shows fields specific to this scenario. The shipments example includes the complete response.
{
"shipiumLtlCostId": "a3c9d487-1fad-4b7f-f02d-8d2cef9a7eae",
"partnerLtlCostId": "harborGlass-compare-2026-04-20-003",
"recommendedTransportationType": "ltlTransportation",
"recommendedTransportationTypeCost": 386.20,
"currencyCode": "usd",
"ltlCostDetails": {
"selectedCarrier": {
"carrier": "R+L Carriers",
"carrierServiceMethodId": "rl-standard-ltl",
"totalCost": 386.20,
"estimatedDeliveryDate": "2026-05-01T17:00:00Z",
"serviceLevel": "standard"
},
"totalCost": 386.20
},
"packageCostDetails": {
"totalCost": 0,
"packageDetails": [],
"status": "success"
}
}Because packedShipments items are excluded from parcel comparison, packageCostDetails.packageDetails is empty when packedShipments is the only input method. To include parcel comparison data, combine packedShipments with shipments (inline) or existingShipmentIds.
Example request using existingShipmentIds
existingShipmentIdsYou can use this scenario when you've already created Shipium shipments and want to retroactively compare what they would have cost as LTL versus parcel.
{
"shipFromAddress": {
"company": "Harbor Glass Works",
"street1": "4120 Seaport Ave",
"city": "Oakland",
"state": "CA",
"countryCode": "US",
"postalCode": "94607",
"addressType": "commercial"
},
"destinationAddress": {
"company": "Rainier Retail Distribution",
"street1": "8800 Cascade Blvd",
"city": "Kent",
"state": "WA",
"countryCode": "US",
"postalCode": "98032",
"addressType": "commercial"
},
"existingShipmentIds": [
"7bfef4f3-9e5e-4637-9213-5934f9f104e6",
"3a2c19d8-2e4b-4891-b1c2-8e3f7d9c5a01"
],
"ltlShipmentParameters": {
"pickupDate": "2026-04-28",
"pricingTypes": ["contractPallet"],
"accessorialCodes": ["APTD"]
},
"packageShipmentParameters": {
"shipOption": "Standard"
},
"partnerLtlCostId": "harborGlass-compare-2026-04-20-001",
"currencyCode": "usd",
"units": {
"currencyCode": "usd",
"linearUnit": "in",
"weightUnit": "lb"
}
}Example response using existingShipmentIds
existingShipmentIdsThis example response shows fields specific to this scenario. The shipments example includes the complete response.
{
"shipiumLtlCostId": "e1a7b265-9d8b-4f5d-de0b-6b0acd7f5c8b",
"partnerLtlCostId": "harborGlass-compare-2026-04-20-001",
"recommendedTransportationType": "ltlTransportation",
"recommendedTransportationTypeCost": 412.85,
"currencyCode": "usd",
"ltlCostDetails": {
"selectedCarrier": {
"carrier": "R+L Carriers",
"carrierServiceMethodId": "rl-standard-ltl",
"totalCost": 412.85,
"estimatedDeliveryDate": "2026-05-01T17:00:00Z",
"serviceLevel": "standard"
},
"totalCost": 412.85
},
"packageCostDetails": {
"totalCost": 487.30,
"packageDetails": [
{
"status": "success",
"shipiumShipmentId": "7bfef4f3-9e5e-4637-9213-5934f9f104e6",
"carrier": "FedEx",
"carrierServiceMethodId": "fedex-ground",
"totalCost": 243.75
},
{
"status": "success",
"shipiumShipmentId": "3a2c19d8-2e4b-4891-b1c2-8e3f7d9c5a01",
"carrier": "FedEx",
"carrierServiceMethodId": "fedex-ground",
"totalCost": 243.55
}
],
"status": "success"
}
}Retrieve existing LTL and small package shipment cost comparison information
Path
GET
https://api.shipium.com/api/v1/ltl/shipment/costCompare/{ltlCostId}
Required path element: ltlCostId
Example cURL call
curl --request GET
--url <<api_url>>/api/v1/ltl/shipment/costCompare/{ltlCostId}
--header 'accept: application/json'
--header $AUTHSTRING
--header 'content-type: application/json' Example response
{
"shipiumLtlCostId": "fa2b839c-92e7-48bf-ba09-b0f5a0b0c475",
"partnerLtlCostId": "myCustomPartnerLTLShipmentId123",
"partnerTenantId": "acme-tenant34",
"shipiumTenantId": "469696b8-731e-44bb-82d6-2c437d57f3ce",
"shipFromAddress": {
"name": "Wile E. Coyote",
"phoneNumber": "505-662-7272",
"phoneNumberCountryCode": "+1",
"emailAddress": "[email protected]",
"company": "ACME",
"street1": "123 Main St.",
"street2": "Suite 42",
"city": "Albuquerque",
"state": "NM",
"countryCode": "US",
"postalCode": "87121",
"addressType": "commercial"
},
"shipFromTimeZoneId": "mst-gmt-7",
"destinationAddress": {
"name": "Rod Runner",
"company": "ACME",
"addressType": "commercial",
"street1": "43 One Way Lane",
"city": "Seattle",
"state": "WA",
"countryCode": "US",
"postalCode": "14410",
"phoneNumber": "206-123-4567",
"phoneNumberCountryCode": "+1"
},
"destinationTimeZoneId": "cst-gmt-6",
"returnToAddress": {
"name": "Wile E. Coyote",
"phoneNumber": "505-662-7272",
"phoneNumberCountryCode": "+1",
"emailAddress": "[email protected]",
"company": "ACME",
"street1": "123 Main St.",
"street2": "Suite 42",
"city": "Albuquerque",
"state": "NM",
"countryCode": "US",
"postalCode": "87121",
"addressType": "commercial"
},
"rawDesiredDeliveryDate": "2024-10-31T10:50:11.123456Z",
"recommendedTransportationType": "ltlTransportation",
"recommendedTransportationTypeCost": 0,
"testMode": true,
"units": {
"currencyCode": "usd",
"linearUnit": "in",
"weightUnit": "lb"
},
"allTransportationTypeCosts": [
{
"transportationType": "ltlTransportation",
"transportationTypeCost": 0
}
],
"ltlCostDetails": {
"loadPackaging": [
{
"details": {
"declaredValue": {
"amount": 12.34,
"currency": "usd"
},
"loadPackagingType": "overboxed",
"loadPackagingSize": {
"height": 84,
"length": 48,
"linearUnit": "in",
"weight": 850.25,
"weightUnit": "lb",
"width": 40
},
"nmfcFreightClass": "50"
},
"shipments": [
{
"partnerShipmentId": "myCustomPartnerShipmentId123",
"shipiumShipmentId": "7bfef4f3-9e5e-4637-9213-5934f9f104e6",
"packageReferenceIdentifier": "1of3"
}
]
}
],
"evaluatedCarriers": [
{
"billableWeight": {
"weightUnit": "lb",
"weight": 50
},
"billToThirdPartyId": "acme-3rd-party-billing-fedex",
"carrier": "fedex",
"carrierAccountId": "acme-fedex-1234",
"carrierServiceMethodId": "fedex-smartpost-service-method",
"estimatedDeliveryDate": "2024-10-30T20:47:11.970Z",
"lineItems": [
{
"name": "base",
"rate": 2.3,
"carrierSurchargeId": "123451239874980",
"lineItemType": "surcharge",
"hiddenFromCarrierCompare": true,
"hiddenFromInvoice": true,
"hiddenFromOperational": true,
"nmfcFreightClass": "50",
"weight": {
"weightUnit": "lb",
"weight": 50
}
}
],
"loadDeficitCost": {
"amount": 0,
"nmfcClass": "50",
"weight": {
"weightUnit": "lb",
"weight": 50
},
"rate": 0
},
"pickupDateTime": "2024-10-29T20:47:11.970Z",
"pricingType": "all",
"quoteId": "e635e871-103c-4a6d-9726-128a3ae51253",
"quoteEffectiveDateTime": "2024-10-28T20:47:11.970Z",
"quoteExpirationDateTime": "2024-10-31T20:47:11.970Z",
"scacCode": "fxsp",
"serviceLevel": "standard",
"totalCost": 0
}
],
"selectedCarrier": {
"billableWeight": {
"weightUnit": "lb",
"weight": 50
},
"billToThirdPartyId": "acme-3rd-party-billing-ups",
"carrier": "ups",
"carrierAccountId": "ups-1234567",
"carrierServiceMethodId": "ups-ground-service-method",
"estimatedDeliveryDate": "2024-10-30T20:47:11.970Z",
"lineItems": [
{
"name": "base",
"rate": 2.3,
"carrierSurchargeId": "123451239874980",
"lineItemType": "surcharge",
"hiddenFromCarrierCompare": true,
"hiddenFromInvoice": true,
"hiddenFromOperational": true,
"nmfcFreightClass": "50",
"weight": {
"weightUnit": "lb",
"weight": 50
}
}
],
"loadDeficitCost": {
"amount": 0,
"nmfcClass": "50",
"weight": {
"weightUnit": "lb",
"weight": 50
},
"rate": 0
},
"pickupDateTime": "2024-10-29T20:47:11.970Z",
"pricingType": "all",
"quoteId": "20df5261-f0bc-492c-9f31-c580f360b8a7",
"quoteEffectiveDateTime": "2024-10-28T20:47:11.970Z",
"quoteExpirationDateTime": "2024-11-09T20:47:11.970Z",
"scacCode": "UPSN-CG",
"serviceLevel": "standard",
"totalCost": 0
},
"totalCost": 0
},
"ltlShipmentParameters": {
"billToContact": {
"addressType": "commercial",
"city": "Albuquerque",
"company": "ACME",
"countryCode": "US",
"emailAddress": "[email protected]",
"name": "Wile E. Coyote",
"phoneNumber": "505-662-7272",
"phoneNumberCountryCode": "+1",
"postalCode": "87121",
"state": "NM",
"street1": "123 Main St.",
"street2": "Suite 42",
"thirdPartyBillingSetId": "acme-3rd-party-billing-set"
},
"carrierServiceMethodAllowList": [
"ups-ground-service-method",
"ups-standard-service-method"
],
"collectOnDelivery": {
"amount": 12.34,
"currency": "usd"
},
"fulfillmentContextIds": [
"ca037b83-6c47-4515-867e-aa890222c53b"
],
"fulfillmentType": "customer",
"packagingOptions": [
{
"loadPackagingType": "overboxed",
"loadPackagingSize": {
"height": 84,
"length": 48,
"linearUnit": "in",
"maximumWeight": 850.25,
"packagingWeight": 10.125,
"weightUnit": "lb",
"width": 40
}
}
],
"paymentDetails": {
"payerType": "consignee",
"paymentTerms": "collect"
},
"pickupDate": "2024-10-31",
"pricingTypes": ["contractPallet"],
"serviceLevels": ["guaranteedMorning"]
},
"packageCostDetails": {
"totalCost": 0,
"packageDetails": [
{
"status": "success",
"statusDetails": "success",
"carrierSelectionId": "911b488c-c620-4663-a554-bf9628e7ff43",
"shipiumShipmentId": "7bfef4f3-9e5e-4637-9213-5934f9f104e6",
"partnerShipmentId": "myCustomPartnerShipmentId123",
"partnerId": "acme007",
"carrierAccountId": "acme-ups-01",
"serviceMethodUrn": "c645ea83-d161-4e28-b8cb-39bf1a620cd3:4e14aaa3-198b-4861-b658-faf51031c84c:83fe5227-a765-45b2-bc2a-cb919ddce922:1",
"serviceMethodIdentifier": "1f19ca28-9798-42b2-9e8c-f9c3a72c9bab:ZmVkZXgtZXhwcmVzcy1zYXZlci1zZXJ2aWNlLW1ldGhvZDo6OGUzYmIxOGUtMTA3Ni00ODUxLWE4ZTYtZWViZTZmNWUwOTkwOjYyNWRiNjU4LWUwOTEtNGUxYi04ODhhLTMyMTI3MGM4ZTZhZjphOGVjYTRlYS1kMDcwLTRkZWMtOGZiMC0xNGNjMTQxMzJmNWQ6ZmVkZXg6NWExZWE3MjgtNGJhMi00Y2M2LTg5MmMtMWYxMjJmMzUwNzc1Ojo",
"carrier": "ups",
"carrierServiceMethodId": "ups-ground-service-method",
"serviceMethodName": "ground",
"costAdjustConfigId": "331de530-6a92-4238-9d3c-70083b19d94e",
"totalCost": 0,
"carrierCompareCost": 0,
"carrierInvoiceCost": 0,
"operationalCost": 2.7,
"thirdPartyBilling": true,
"carrierSelectionDateTime": "2024-10-27T20:47:11.970Z",
"carrierZoneId": "ups-zone-7",
"calculatedBillableWeight": {
"weightUnit": "lb",
"weight": 50
},
"laneMatch": {
"laneId": "asdqwdq-qwd123ds-123asdwd-123asd",
"partnerLaneId": "custom partner provided id"
},
"evaluatedServiceMethods": [
{
"carrier": "ups",
"carrierServiceMethodId": "ups-ground-service-method",
"serviceMethodName": "ground",
"carrierAccountId": "acme-ups-01",
"totalCost": 0,
"estimatedDeliveryDate": "2024-10-30T20:47:11.970Z",
"rateCurrency": "usd",
"lineItems": [
{
"name": "base",
"rate": 2.3,
"carrierSurchargeId": "123451239874980",
"lineItemType": "surcharge",
"hiddenFromCarrierCompare": true,
"hiddenFromInvoice": true,
"hiddenFromOperational": true
}
]
}
],
"cancellationDateTime": "2024-10-31T10:50:11.123456Z",
"effectiveShipDateTime": "2024-10-30T20:47:11.970Z"
}
],
"status": "success"
},
"packageShipmentParameters": {
"carrierServiceMethodAllowList": [
"ups-ground-service-method",
"ups-standard-service-method"
],
"deliverySignatureOption": "resident_signature",
"deliveryWindow": "string",
"forceThirdPartyBilling": false,
"fulfillmentContextIds": [
"ca037b83-6c47-4515-867e-aa890222c53b"
],
"fulfillmentType": "customer",
"ignoreCarrierMinimumDimensions": false,
"ignoreUpgradeSpendLimits": false,
"includeInjectionProfiles": false,
"lastMileDeliveryOptions": {
"deliveryInstruction": "LEAVE_AT_DOOR",
"undeliverableInstruction": "LEAVE_AT_DOOR",
"tip": {
"type": "FIXED",
"value": 0,
"currency": "usd"
},
"tipForLabelCreate": {
"type": "FIXED",
"value": 0,
"currency": "usd"
},
"deliverableActionForLabelCreate": "RETURN",
"undeliverableActionForLabelCreate": "RETURN"
},
"pickupWindow": "string",
"preferredCarrierDeliveryDateTime": "2019-10-31T20:00:00Z",
"saturdayDelivery": false,
"serviceMethodPoBoxAllowList": [
"string"
],
"shipOption": "Standard",
"thirdPartyBillingSetId": "acme-3rd-party-billing-set"
},
"packedShipments": [
{
"declaredValue": {
"amount": 12.34,
"currency": "usd"
},
"loadPackagingType": "overboxed",
"loadPackagingSize": {
"height": 84,
"length": 48,
"linearUnit": "in",
"weight": 850.25,
"weightUnit": "lb",
"width": 40
},
"nmfcFreightClass": "50"
}
],
"shipments": [
{
"partnerShipmentId": "myCustomPartnerShipmentId123",
"shipiumShipmentId": "7bfef4f3-9e5e-4637-9213-5934f9f104e6"
}
]
}Resources
Your Shipium team member is available to help along the way. However, you might find these resources helpful:
Updated 24 days ago
