---
title: "Retrieve a single page of LTL costs, or LTL cost comparisons, that match the supplied parameters."
method: GET
path: "/api/v1/ltl/shipment/costCompare"
tags: ["ltl-shipment-cost"]
---

# Retrieve a single page of LTL costs, or LTL cost comparisons, that match the supplied parameters.

`GET /api/v1/ltl/shipment/costCompare`

## Query parameters

- `carrierId` string
- `shipiumLtlCostIds` string[]
- `partnerLtlCostIds` string[]
- `originCountryCode` string
- `originPostalCode` string
- `destinationCountryCode` string
- `destinationPostalCode` string
- `shipiumTenantId` string
- `partnerTenantId` string
- `fromCreateDateTime` string, date-time
- `toCreateDateTime` string, date-time
- `fromPickupDate` string, date
- `toPickupDate` string, date
- `include` string[]
- `anchor` string
- `count` integer

## Headers

- `X-DELEGATED-PARTNER-ID` string

## Response `200`

LTL costs that match the parameters, with pagination.

- LtlCostResponse[]
  - `shipiumLtlCostId` string, required — Shipium-generated unique id of the LTL cost, for later lookup.
  - `partnerLtlCostId` string — An optional unique identifier that may be used for this LTL cost.
  - `partnerTenantId` string — The partner provided tenant ID. When present, this is used to indicate the tenant associated with the LTL shipment.
  - `shipiumTenantId` string — The shipium generated tenant ID. When present, this is used to indicate the tenant associated with the LTL shipment.
  - `shipFromAddress` CSAddress, required — Address details of the sold to party for customs purposes
    - `name` string — The name associated with the address.
    - `phoneNumber` string — Phone number of the contact.
    - `phoneNumberCountryCode` string — Phone Number Country Code of the contact.
    - `emailAddress` string — Email address of the contact.
    - `company` string — The company name for the address.
    - `street1` string — The first address line.
    - `street2` string — The second address line.
    - `city` string — The name of the city for the address.
    - `state` string — The name of the state for the address.
    - `countryCode` string, required — The ISO 3166-1 country code for the address.
    - `postalCode` string, required — A countryCode-appropriate postal code for the address.
    - `addressType` 'commercial' | 'residential' — The type of location for this address.
    - `addressLineComponents` AddressLineComponents — The components extracted from street1 and street2
      - `streetName` string — The name of the street.
      - `primaryAddressNumber` string — The primary, or external, address number.
      - `secondaryAddressNumber` string — The secondary, or internal, address number.
      - `district` string — The district, or municipality, for the address.
      - `neighborhood` string — The neighborhood for the address.
  - `shipFromTimeZoneId` string
  - `destinationAddress` CSAddress, required — Address details of the sold to party for customs purposes
    - `name` string — The name associated with the address.
    - `phoneNumber` string — Phone number of the contact.
    - `phoneNumberCountryCode` string — Phone Number Country Code of the contact.
    - `emailAddress` string — Email address of the contact.
    - `company` string — The company name for the address.
    - `street1` string — The first address line.
    - `street2` string — The second address line.
    - `city` string — The name of the city for the address.
    - `state` string — The name of the state for the address.
    - `countryCode` string, required — The ISO 3166-1 country code for the address.
    - `postalCode` string, required — A countryCode-appropriate postal code for the address.
    - `addressType` 'commercial' | 'residential' — The type of location for this address.
    - `addressLineComponents` AddressLineComponents — The components extracted from street1 and street2
      - `streetName` string — The name of the street.
      - `primaryAddressNumber` string — The primary, or external, address number.
      - `secondaryAddressNumber` string — The secondary, or internal, address number.
      - `district` string — The district, or municipality, for the address.
      - `neighborhood` string — The neighborhood for the address.
  - `destinationTimeZoneId` string
  - `returnToAddress` CSAddress — Address details of the sold to party for customs purposes
    - `name` string — The name associated with the address.
    - `phoneNumber` string — Phone number of the contact.
    - `phoneNumberCountryCode` string — Phone Number Country Code of the contact.
    - `emailAddress` string — Email address of the contact.
    - `company` string — The company name for the address.
    - `street1` string — The first address line.
    - `street2` string — The second address line.
    - `city` string — The name of the city for the address.
    - `state` string — The name of the state for the address.
    - `countryCode` string, required — The ISO 3166-1 country code for the address.
    - `postalCode` string, required — A countryCode-appropriate postal code for the address.
    - `addressType` 'commercial' | 'residential' — The type of location for this address.
    - `addressLineComponents` AddressLineComponents — The components extracted from street1 and street2
      - `streetName` string — The name of the street.
      - `primaryAddressNumber` string — The primary, or external, address number.
      - `secondaryAddressNumber` string — The secondary, or internal, address number.
      - `district` string — The district, or municipality, for the address.
      - `neighborhood` string — The neighborhood for the address.
  - `rawDesiredDeliveryDate` string — The timestamp passed in by you (or your fulfillment partner) for the intended date the package will arrive to the customer. The timestamp must be a valid ISO 8601 timestamp.
  - `recommendedTransportationType` 'ltlTransportation' | 'packageTransportation', required — Whether using LTL or parcel shipping will be less expensive, and able to meet the request parameters.
  - `recommendedTransportationTypeCost` number, float, required — The cost of using the recommended transportation type for this shipment.
  - `testMode` boolean, required — Indicates that a testMode LTL cost and shipment will be created. LTL costing and package carrier selection will consider carriers and service methods in test mode, and label generation will generate a test label.
  - `currencyCode` string — ISO-4217 currency code for all the rates for shipping.
  - `units` Units — The units that all dimensions and currencies in the response are in, unless overridden in a narrower scope. If `units` was supplied in the request, this will use the same units.
    - `currencyCode` string, required — The ISO-4217 currency code that monetary amounts are represented in.
    - `linearUnit` 'in' | 'cm', required — The unit that linear dimensions are represented in.
    - `weightUnit` 'g' | 'kg' | 'oz' | 'lb', required — The unit that the weights are represented in.
  - `allTransportationTypeCosts` LtlCostSummary[], required — The cost of all transportation types considered by costing. Sorted from least expensive to most expensive.
    - `transportationType` 'ltlTransportation' | 'packageTransportation', required — The transportation type used for this cost estimate.
    - `transportationTypeCost` number, float, required — The cost of using this transportation type for the shipment. {This will be zero if no carrier could be found for this shipment.
  - `ltlCostDetails` LtlCarrierSelection, required — The costing details of using LTL to transport this shipment.
    - `loadPackaging` LtlLoadPackagingRecommendation[], required — How the parcels in the LTL shipment are packaged or should be packaged.
      - `details` LoadPackagingDetails, required — 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.
        - `declaredValue` CurrencyAmount — The amount that should be paid by the recipient upon delivery of the package.
          - `amount` number, float, required — The amount of money.
          - `currency` string — The ISO-4217 currency code that the amount is in. This is required unless a default currency unit is supplied elsewhere. If this and a default are both supplied, this will take priority.
        - `loadPackagingType` 'loose' | 'overboxed' | 'piece' | 'wrapped' | 'pallet' — How the parcels in the load are packaged together.
        - `loadPackagingSize` LoadPackagingSize, required — Dimensions for packaging containing the parcels.
          - `height` number, float, required — The height that parcels are stacked within the packaging.
          - `length` number, float, required — The longer horizontal dimension that parcels occupy within the packaging.
          - `linearUnit` 'in' | 'cm' — The unit of measure for linear dimensions (length, width, height). This will override the value configured in the root level `units` object. If the root level `units` object is not provided, this field will be required.
          - `weight` number, float, required — The total weight of parcels within the packaging.
          - `weightUnit` 'g' | 'kg' | 'oz' | 'lb' — The unit of measure for weight of parcels within the packaging. This will override the value configured in the root level `units` object. If the root level `units` object is not provided, this field will be required.
          - `width` number, float, required — The shorter horizontal dimension that parcels occupy within the packaging.
        - `nmfcFreightClass` string, required — A string representing the broad class of products being shipped in this load. This should be the largest (i.e. 51 > 50) NMFC class of any of the products in the load. For example, both bricks and steel pipes have a NMFC class of `50`
      - `shipments` LtlLoadPackagingItem[] — The shipments that are included in this load. This will be empty or null if this corresponds to a item in `packedShipments` in the request.
        - `partnerShipmentId` string — An optional unique identifier that may be used for this shipment.
        - `shipiumShipmentId` string — The Shipium-generated unique identifier for this shipment.
        - `packageReferenceIdentifier` string — Used to differentiate parcels in a multiparcel shipment. Required when the shipment is multiparcel.
    - `evaluatedCarriers` LtlCarrierCost[] — Information about the other carriers considered, but rejected because they either: cannot meet the desired delivery date, cannot carry the shipment, cannot pick up the shipment on the requested date, or cost more than the selected carrier. Requires `includeEvaluatedServiceMethodsInResponse` to be true in the request.
      - `billableWeight` Weight, required — The weight of this type of packaging empty.
        - `weightUnit` 'g' | 'kg' | 'oz' | 'lb' — The unit that weight values are provided in. g for grams kg for kilograms oz for ounces lb for pounds
        - `weight` number, float — The value of the weight.
      - `billToThirdPartyId` string — Either the Shipium-generated or the partner-provided third party billing ID. Used to look up the account number each LTL carrier uses to determine pricing agreement.
      - `carrier` string, required — The carrier who provided this quote.
      - `carrierAccountId` string — Unique id of the carrier account used for this cost.
      - `carrierServiceMethodId` string, required — The carrier's service method that would be used for transporting the load in this quote.
      - `estimatedDeliveryDate` string, date-time — The carrier's estimate for when the load will be delivered. This will be missing if the carrier service method does not meet the request's requirements.
      - `lineItems` LtlRateLineItem[] — The components of the carrier's cost estimate. This will be missing or empty if the carrier service method does not meet the request's requirements, or the carrier does not return the costing details. Requires `includeLineItemsInEvaluatedServiceMethods` to be true in the request.
        - `name` string, required — The name of the rate modification
        - `rate` number, float, required — The amount of the rate modification
        - `carrierSurchargeId` string — The identifier for the carrier surcharge
        - `surchargeType` 'additional_handling_weight' | 'additional_handling_volume' | 'additional_handling_length' | 'additional_handling_extra_length' | 'additional_handling_width' | 'additional_handling_packaging' | 'alaska_delivery_commercial_air' | 'alaska_delivery_commercial_ground' | 'alaska_delivery_residential_air' | 'alaska_delivery_residential_ground' | 'base' | 'delivery_commercial_air' | 'delivery_commercial_ground' | 'delivery_residential_air' | 'delivery_residential_ground' | 'extended_delivery_commercial_air' | 'extended_delivery_commercial_ground' | 'extended_delivery_residential_air' | 'extended_delivery_residential_ground' | 'fuel_air_domestic' | 'fuel_air_international_export' | 'fuel_air_international_import' | 'fuel_ground' | 'hawaii_delivery_commercial_air' | 'hawaii_delivery_commercial_ground' | 'hawaii_delivery_residential_air' | 'hawaii_delivery_residential_ground' | 'hazmat' | 'incentive' | 'international_delivery_area' | 'international_extended_delivery_area' | 'large_package_commercial' | 'large_package_residential' | 'peak' | 'peak_additional_handling' | 'peak_residential_delivery_air' | 'peak_residential_delivery_ground' | 'peak_large_package' | 'remote_delivery_commercial_air' | 'remote_delivery_commercial_ground' | 'remote_delivery_residential_air' | 'remote_delivery_residential_ground' | 'residential_air' | 'residential_ground' | 'saturday_delivery' | 'signature' | 'signature_resident' | 'signature_adult' | 'signature_adult_resident' | 'surcharge' | 'zone_weight' — The type of surcharge for this item. Null value for non-surcharges
        - `lineItemType` string — The type of rate line item for this rate modification
        - `hiddenFromCarrierCompare` boolean — Indicates line item exclusion from the `carrierCompareCost`.
        - `hiddenFromInvoice` boolean — Indicates line item exclusion from the `carrierInvoiceCost`.
        - `hiddenFromOperational` boolean — Indicates line item exclusion in the `operationalCost`.
        - `nmfcFreightClass` string — For LTL container line items, a string representing the most costly class of product being shipped in the container. For example, both bricks and steel pipes have a NMFC class of `50`
        - `weight` Weight — The weight of this type of packaging empty.
          - `weightUnit` 'g' | 'kg' | 'oz' | 'lb' — The unit that weight values are provided in. g for grams kg for kilograms oz for ounces lb for pounds
          - `weight` number, float — The value of the weight.
      - `loadDeficitCost` LtlLoadDeficitCost — If the LTL carrier has a cheaper rate that would require adding weight to the load, this contains the details about the amount of weight needed and the cheaper rate.
        - `amount` number, float, required — The difference in cost between the current shipment and a shipment at the optimal weight.
        - `nmfcClass` string — The NMFC class of product being shipped. For example, both bricks and steel pipes have a NMFC class of `50`
        - `weight` Weight, required — The weight of this type of packaging empty.
          - `weightUnit` 'g' | 'kg' | 'oz' | 'lb' — The unit that weight values are provided in. g for grams kg for kilograms oz for ounces lb for pounds
          - `weight` number, float — The value of the weight.
        - `rate` number, float, required — The best rate (e.g. cost per hundredweight) for a shipment at or above the shipment's weight.
      - `pickupDateTime` string, date-time — When the carrier can pick up the shipment. Some carriers may specify an exact time, whereas others will only specify the date and leave the time as 00:00:00.000
      - `pricingType` 'all' | 'contract' | 'contractPallet' | 'dynamic' | 'volume' | 'unknown' — The pricing type used by the carrier for this quote.
      - `quoteId` string — The carrier-provided identifier for the quote.
      - `quoteEffectiveDateTime` string, date-time — When the carrier's quote is valid until.
      - `quoteExpirationDateTime` string, date-time — When the carrier's quote is valid until.
      - `scacCode` string, required — The SCAC code for the carrier and service method.
      - `serviceLevel` 'all' | 'guaranteedMorning' | 'guaranteedNoon' | 'guaranteedEndOfDay' | 'standard' | 'unknown', required — The service level, or time-definite delivery option, that will be used by the carrier.
      - `totalCost` number, float — The quoted cost of the shipment.
    - `selectedCarrier` LtlCarrierCost — Information about the selected carrier.
      - `billableWeight` Weight, required — The weight of this type of packaging empty.
        - `weightUnit` 'g' | 'kg' | 'oz' | 'lb' — The unit that weight values are provided in. g for grams kg for kilograms oz for ounces lb for pounds
        - `weight` number, float — The value of the weight.
      - `billToThirdPartyId` string — Either the Shipium-generated or the partner-provided third party billing ID. Used to look up the account number each LTL carrier uses to determine pricing agreement.
      - `carrier` string, required — The carrier who provided this quote.
      - `carrierAccountId` string — Unique id of the carrier account used for this cost.
      - `carrierServiceMethodId` string, required — The carrier's service method that would be used for transporting the load in this quote.
      - `estimatedDeliveryDate` string, date-time — The carrier's estimate for when the load will be delivered. This will be missing if the carrier service method does not meet the request's requirements.
      - `lineItems` LtlRateLineItem[] — The components of the carrier's cost estimate. This will be missing or empty if the carrier service method does not meet the request's requirements, or the carrier does not return the costing details. Requires `includeLineItemsInEvaluatedServiceMethods` to be true in the request.
        - `name` string, required — The name of the rate modification
        - `rate` number, float, required — The amount of the rate modification
        - `carrierSurchargeId` string — The identifier for the carrier surcharge
        - `surchargeType` 'additional_handling_weight' | 'additional_handling_volume' | 'additional_handling_length' | 'additional_handling_extra_length' | 'additional_handling_width' | 'additional_handling_packaging' | 'alaska_delivery_commercial_air' | 'alaska_delivery_commercial_ground' | 'alaska_delivery_residential_air' | 'alaska_delivery_residential_ground' | 'base' | 'delivery_commercial_air' | 'delivery_commercial_ground' | 'delivery_residential_air' | 'delivery_residential_ground' | 'extended_delivery_commercial_air' | 'extended_delivery_commercial_ground' | 'extended_delivery_residential_air' | 'extended_delivery_residential_ground' | 'fuel_air_domestic' | 'fuel_air_international_export' | 'fuel_air_international_import' | 'fuel_ground' | 'hawaii_delivery_commercial_air' | 'hawaii_delivery_commercial_ground' | 'hawaii_delivery_residential_air' | 'hawaii_delivery_residential_ground' | 'hazmat' | 'incentive' | 'international_delivery_area' | 'international_extended_delivery_area' | 'large_package_commercial' | 'large_package_residential' | 'peak' | 'peak_additional_handling' | 'peak_residential_delivery_air' | 'peak_residential_delivery_ground' | 'peak_large_package' | 'remote_delivery_commercial_air' | 'remote_delivery_commercial_ground' | 'remote_delivery_residential_air' | 'remote_delivery_residential_ground' | 'residential_air' | 'residential_ground' | 'saturday_delivery' | 'signature' | 'signature_resident' | 'signature_adult' | 'signature_adult_resident' | 'surcharge' | 'zone_weight' — The type of surcharge for this item. Null value for non-surcharges
        - `lineItemType` string — The type of rate line item for this rate modification
        - `hiddenFromCarrierCompare` boolean — Indicates line item exclusion from the `carrierCompareCost`.
        - `hiddenFromInvoice` boolean — Indicates line item exclusion from the `carrierInvoiceCost`.
        - `hiddenFromOperational` boolean — Indicates line item exclusion in the `operationalCost`.
        - `nmfcFreightClass` string — For LTL container line items, a string representing the most costly class of product being shipped in the container. For example, both bricks and steel pipes have a NMFC class of `50`
        - `weight` Weight — The weight of this type of packaging empty.
          - `weightUnit` 'g' | 'kg' | 'oz' | 'lb' — The unit that weight values are provided in. g for grams kg for kilograms oz for ounces lb for pounds
          - `weight` number, float — The value of the weight.
      - `loadDeficitCost` LtlLoadDeficitCost — If the LTL carrier has a cheaper rate that would require adding weight to the load, this contains the details about the amount of weight needed and the cheaper rate.
        - `amount` number, float, required — The difference in cost between the current shipment and a shipment at the optimal weight.
        - `nmfcClass` string — The NMFC class of product being shipped. For example, both bricks and steel pipes have a NMFC class of `50`
        - `weight` Weight, required — The weight of this type of packaging empty.
          - `weightUnit` 'g' | 'kg' | 'oz' | 'lb' — The unit that weight values are provided in. g for grams kg for kilograms oz for ounces lb for pounds
          - `weight` number, float — The value of the weight.
        - `rate` number, float, required — The best rate (e.g. cost per hundredweight) for a shipment at or above the shipment's weight.
      - `pickupDateTime` string, date-time — When the carrier can pick up the shipment. Some carriers may specify an exact time, whereas others will only specify the date and leave the time as 00:00:00.000
      - `pricingType` 'all' | 'contract' | 'contractPallet' | 'dynamic' | 'volume' | 'unknown' — The pricing type used by the carrier for this quote.
      - `quoteId` string — The carrier-provided identifier for the quote.
      - `quoteEffectiveDateTime` string, date-time — When the carrier's quote is valid until.
      - `quoteExpirationDateTime` string, date-time — When the carrier's quote is valid until.
      - `scacCode` string, required — The SCAC code for the carrier and service method.
      - `serviceLevel` 'all' | 'guaranteedMorning' | 'guaranteedNoon' | 'guaranteedEndOfDay' | 'standard' | 'unknown', required — The service level, or time-definite delivery option, that will be used by the carrier.
      - `totalCost` number, float — The quoted cost of the shipment.
    - `totalCost` number, float — The least expensive quoted cost of the shipment, using LTL. This will be zero in case no carrier could be selected
  - `ltlShipmentParameters` LtlShipmentParameters, required — Request parameters that informed LTL costing and carrier selection.
    - `billToContact` LtlBillToContact — Whom should be billed for the LTL shipment. By default, the carrier contracts in the fulfillment context will be used for billing.
      - `addressLineComponents` AddressLineComponents — The components extracted from street1 and street2
        - `streetName` string — The name of the street.
        - `primaryAddressNumber` string — The primary, or external, address number.
        - `secondaryAddressNumber` string — The secondary, or internal, address number.
        - `district` string — The district, or municipality, for the address.
        - `neighborhood` string — The neighborhood for the address.
      - `addressType` 'commercial' | 'residential' — The type of location for this address.
      - `city` string — The name of the city for the address.
      - `company` string — The company name for the address.
      - `countryCode` string, required — The ISO 3166-1 country code for the address.
      - `emailAddress` string — Email address of the contact.
      - `name` string — The name associated with the address.
      - `phoneNumber` string — Phone number of the contact.
      - `phoneNumberCountryCode` string — Phone Number Country Code of the contact.
      - `postalCode` string, required — A countryCode-appropriate postal code for the address.
      - `state` string — The name of the state for the address.
      - `street1` string — The first address line.
      - `street2` string — The second address line.
      - `thirdPartyBillingSetId` string, required — Either the Shipium-generated or the partner-provided third party billing set ID. Used to look up the account number each LTL carrier uses to determine pricing agreement.
    - `carrierServiceMethodAllowList` string[] — A list of carrierServiceMethodIds, and/or SCAC codes, and/or carriers that should be considered for LTL carrier selection.
    - `collectOnDelivery` CurrencyAmount — The amount that should be paid by the recipient upon delivery of the package.
      - `amount` number, float, required — The amount of money.
      - `currency` string — The ISO-4217 currency code that the amount is in. This is required unless a default currency unit is supplied elsewhere. If this and a default are both supplied, this will take priority.
    - `fulfillmentContextIds` string[] — A collection of Shipium generated IDs or partner provided aliases for the fulfillment context that are eligible to be used for LTL carrier selection.There must be exactly one fulfillment context that can ship from the origin to the destination, for the specified tenant, regardless of whether or not this list is populated.
    - `originId` string — A shipiumOriginId or partnerOriginId to identify which originthe shipment will be processed at.
    - `fulfillmentType` 'customer' | 'at_large' | 'returns' | 'hundredweight' | 'reship' | 'unknown' — Fulfillment methodology of the shipment.
    - `hazmatContact` LtlHazmatContact — Who the carrier should contact if they have a question regarding hazmat in the shipment. If this is not supplied, and their are hazardous materials in the shipment, the contact information in either the `shipFromAddress`, or the Fulfillment Context's Origin, will be used for this purpose.
      - `contactName` string, required — Name of the contact.
      - `phoneNumber` string, required — Phone number of the contact.
      - `phoneNumberCountryCode` string — Optional country code for the phone number of the contact.
      - `email` string — Email address of the contact.
    - `packagingOptions` LoadPackagingDetailsRequest[] — How the LTL shipment can be packaged. This is required if there are any existingShipmentIds or shipments in the LtlCostRequest.
      - `loadPackagingType` 'loose' | 'overboxed' | 'piece' | 'wrapped' | 'pallet' — How the parcels in the load will be packaged together.
      - `loadPackagingSize` LoadPackagingSizeRequest, required — Dimensions for packaging containing the parcels, used to estimate how parcels could be packed together.
        - `height` number, float, required — The maximum height that parcels can be stacked within the packaging.
        - `length` number, float, required — The longer horizontal dimension that parcels can occupy within the packaging.
        - `linearUnit` 'in' | 'cm' — The unit of measure for linear dimensions (length, width, height). This will override the value configured in the root level `units` object. If the root level `units` object is not provided, this field will be required.
        - `maximumWeight` number, float — The maximum weight of parcels within the packaging. If not specified, no maximum weight will be used when determining how to pack parcels.
        - `packagingWeight` number, float — The weight of the packaging without any parcels.
        - `weightUnit` 'g' | 'kg' | 'oz' | 'lb' — The unit of measure for maximum weight of parcels within the packaging, and the packaging itself. This will override the value configured in the root level `units` object. If the root level `units` object is not provided, this field will be required.
        - `width` number, float, required — The shorter horizontal dimension that parcels can occupy within the packaging.
    - `paymentDetails` LtlPaymentDetails, required — How the LTL shipment will be paid for.
      - `payerType` 'consignee' | 'shipper' | 'thirdParty', required — Who is paying the carrier to deliver the shipment.
      - `paymentTerms` 'collect' | 'prePaid' | 'thirdParty', required — How the shipment is being paid for.
    - `pickupDate` string, date, required — Date when LTL shipment will be picked up by the carrier.
    - `pricingTypes` string[] — The pricing types that should be eligible for LTL carrier selection.
    - `serviceLevels` string[] — The time-definite delivery options that should be eligible for LTL carrier selection.
    - `accessorialCodes` string[] — A list of codes representing the accessorial codes applicable for the shipment.
  - `packageCostDetails` LtlParcelCarrierSelection — The costing details of using package shipping to transport this shipment. Only present if package costing was compared to LTL costing, or used for a subset of packages.
    - `totalCost` number, float, required — How much it would cost to ship all of the parcels individually.
    - `packageDetails` CarrierSelectionSummary[], required — Information about each package's carrier selection.
      - `status` 'success' | 'uncosted' | 'no_decision' — Defines the result of the carrier selection call. Values returned will be success, or no_decision
      - `statusDetails` string — Details explaining the result status. Pertinent when the status is "no_decision".
      - `carrierSelectionId` string — Unique id of the carrier selection for later lookup.
      - `shipiumShipmentId` string — The unique identifier for this shipment.
      - `partnerShipmentId` string — The optional unique identifier that may be used for this shipment.
      - `partnerId` string — Unique id of the partner.
      - `carrierAccountId` string — Unique id of the carrier account selected for shipping.
      - `serviceMethodUrn` string — Specific version of the service level of the shipping carrier selected
      - `serviceMethodIdentifier` string — Identifier of the specific version of the service method of the shipping carrier selected
      - `carrier` string — The carrier that was used for delivering the package to your customer.
      - `carrierServiceMethodId` string — Maps to the unique internal Shipium ID which represents a carrier service method definition.
      - `serviceMethodName` string — Name of the carrier service method selected during the carrier selection process.
      - `costAdjustConfigId` string — If specified, this is the dynamic costing config applied for the carrier selection
      - `totalCost` number, float — Cost used for carrier selection.
      - `carrierCompareCost` number, float — Expected cost from the carrier label create.
      - `carrierInvoiceCost` number, float — Expected cost that carrier will charge at billing time.
      - `operationalCost` number, float — Carrier invoice cost plus operational costs like injection line haul.
      - `thirdPartyBilling` boolean — Indicates if the selected service method will be billed to a third party.
      - `carrierSelectionDateTime` string, date-time — ISO-8601 formatted date when the carrier selection decision was made.
      - `injectionDetails` InjectionSummary — InjectionProfile and InjectionSite details
        - `requestInjectionProfileId` string — The partner can provide either partnerInjectionProfileId or shipiumInjectionProfileId in the request and this attribute records / indicates the injectionProfile identifier provided by the partner in the request.
        - `partnerInjectionProfileId` string — Unique to the partner asset ID that is provided by the partner to the injectionProfile.
        - `shipiumInjectionProfileId` string — InjectionProfile identifier.
        - `requestInjectionSiteId` string — The partner can provide either partnerInjectionSiteId or shipiumInjectionSiteId in the request and this attribute records / indicates the injectionProfile address provided by the partner in the request.
        - `partnerInjectionSiteId` string — Unique to the partner asset ID that is provided by the partner to the injectionSite.
        - `shipiumInjectionSiteId` string — InjectionSite identifier
      - `carrierZoneId` string — The carrier zone that is being considered.
      - `calculatedBillableWeight` Weight — The weight of this type of packaging empty.
        - `weightUnit` 'g' | 'kg' | 'oz' | 'lb' — The unit that weight values are provided in. g for grams kg for kilograms oz for ounces lb for pounds
        - `weight` number, float — The value of the weight.
      - `calculatedBillableCubicVolume` CubicVolume — Cubic volume that was used to generate the rate
        - `cubicVolumeUnit` 'in' | 'ft' | 'cm' | 'm' — The unit for the cubic volume
        - `cubicVolume` number, float — The value of the cubic volume.
      - `laneMatch` LaneMatch — The matched lane for the carrier that was selected. This will be empty if nothing is configured for lanes.
        - `laneId` string — The laneId that was matched on and used.
        - `partnerLaneId` string — The lane sort match name that was configured on the lane.
      - `evaluatedServiceMethods` CarrierSelectionExpansion[] — An optional expansion of what carrier service methods were eligible but went unselected.
        - `carrier` string — The carrier that was used for delivering the package to your customer.
        - `carrierServiceMethodId` string — carrier service method id for the service method.
        - `serviceMethodName` string — Name of the carrier service method selected during the carrier selection process.
        - `carrierAccountId` string — Unique id of the carrier account selected for shipping.
        - `totalCost` number, float — Cost used for carrier selection.
        - `estimatedDeliveryDate` string, date-time — The estimated date that the shipment will arrive at its destinations.
        - `injectionDetails` InjectionDetails — InjectionProfile and InjectionSite details
          - `requestInjectionProfileId` string — The partner can provide either partnerInjectionProfileId or shipiumInjectionProfileId in the request and this attribute records / indicates the injectionProfile identifier provided by the partner in the request.
          - `partnerInjectionProfileId` string — Unique to the partner asset ID that is provided by the partner to the injectionProfile.
          - `shipiumInjectionProfileId` string — InjectionProfile identifier.
          - `requestInjectionSiteId` string — The partner can provide either partnerInjectionSiteId or shipiumInjectionSiteId in the request and this attribute records / indicates the injectionSite identifier provided by the partner in the request.
          - `partnerInjectionSiteId` string — Unique to the partner asset ID that is provided by the partner to the injectionSite.
          - `shipiumInjectionSiteId` string — InjectionSite identifier
          - `injectionCostDetails` InjectionCostDetails — Injection cost details
            - `injectionLineItemRate` number, float — The amount of the rate modification
            - `injectionLineItemCurrencyCode` string — The currency that the rate is in.
            - `injectionRateModifier` InjectionRateModifier — The RateModifier to be applied if the service method is for Injection
              - …
        - `rateCurrency` string — The currency that the rate is in, which also applies to line items.
        - `lineItems` RateLineItem[] — List of rate modifications that were used to calculate the rate
          - `name` string, required — The name of the rate modification
          - `rate` number, float, required — The amount of the rate modification
          - `carrierSurchargeId` string — The identifier for the carrier surcharge
          - `surchargeType` 'additional_handling_weight' | 'additional_handling_volume' | 'additional_handling_length' | 'additional_handling_extra_length' | 'additional_handling_width' | 'additional_handling_packaging' | 'alaska_delivery_commercial_air' | 'alaska_delivery_commercial_ground' | 'alaska_delivery_residential_air' | 'alaska_delivery_residential_ground' | 'base' | 'delivery_commercial_air' | 'delivery_commercial_ground' | 'delivery_residential_air' | 'delivery_residential_ground' | 'extended_delivery_commercial_air' | 'extended_delivery_commercial_ground' | 'extended_delivery_residential_air' | 'extended_delivery_residential_ground' | 'fuel_air_domestic' | 'fuel_air_international_export' | 'fuel_air_international_import' | 'fuel_ground' | 'hawaii_delivery_commercial_air' | 'hawaii_delivery_commercial_ground' | 'hawaii_delivery_residential_air' | 'hawaii_delivery_residential_ground' | 'hazmat' | 'incentive' | 'international_delivery_area' | 'international_extended_delivery_area' | 'large_package_commercial' | 'large_package_residential' | 'peak' | 'peak_additional_handling' | 'peak_residential_delivery_air' | 'peak_residential_delivery_ground' | 'peak_large_package' | 'remote_delivery_commercial_air' | 'remote_delivery_commercial_ground' | 'remote_delivery_residential_air' | 'remote_delivery_residential_ground' | 'residential_air' | 'residential_ground' | 'saturday_delivery' | 'signature' | 'signature_resident' | 'signature_adult' | 'signature_adult_resident' | 'surcharge' | 'zone_weight' — The type of surcharge for this item. Null value for non-surcharges
          - `lineItemType` string — The type of rate line item for this rate modification
          - `hiddenFromCarrierCompare` boolean — Indicates line item exclusion from the `carrierCompareCost`.
          - `hiddenFromInvoice` boolean — Indicates line item exclusion from the `carrierInvoiceCost`.
          - `hiddenFromOperational` boolean — Indicates line item exclusion in the `operationalCost`.
        - `estimatedDeliveryDateLocal` string — A ISO-8601 date-time without a time-zone
      - `cancellationDateTime` string, date-time — The timestamp for when a carrier selection was cancelled. This field will default to null when the carrier selection is not cancelled. A carrier selection cannot be cancelled if it is associated with an active label
      - `effectiveShipDateTime` string, date-time — Shipium's calculation for the effective ship date time that a shipment will ship out. This date time will be used for the carrier label and for limits.
      - `currencyCode` string — Currency in which all the rates for shipping carrier selection costs were calculated in.
    - `status` 'success' | 'failure' | 'timeout', required — Summary of what happened during package carrier selection: - `success` indicates that all packages had a carrier eligible to ship them. - `failure` indicates that one or more packages had no carriers eligible to ship them. - `timeout` indicates that one or more carrier selections could not be completed due to the amount of time required to process them.
  - `packageShipmentParameters` LtlParcelShipmentParameters — Request parameters that informed package shipments and carrier selection. Only present if these parameters were in the cost request.
    - `carrierServiceMethodAllowList` string[] — A list of carrierServiceMethodIds and/or carriers that should be considered for parcel carrier selection.
    - `deliverySignatureOption` 'None' | 'Signature' | 'ResidentSignature' | 'AdultSignature' | 'AdultResidentSignature' | 'Unknown' — Whether the recipient's signature should be required.
    - `deliveryWindow` TimeWindow — A string passed to carriers for a delivery window.
      - `startWindow` string, required — A time without any date or timezone
      - `endWindow` string, required — A time without any date or timezone
      - `timeZone` string
    - `forceThirdPartyBilling` boolean — Indicates that third party billing is a requirement for this shipment, no service method should be selected that does not support third party billing
    - `fulfillmentContextIds` string[] — A collection of Shipium generated IDs or partner provided aliases for the fulfillment context that are eligible to be used for parcel carrier selection.There must be exactly one fulfillment context that can ship from the origin to the destination, for the specified tenant, regardless of whether or not this list is populated.
    - `originId` string — A shipiumOriginId or partnerOriginId to identify which originthe shipment will be processed at.
    - `fulfillmentType` 'customer' | 'at_large' | 'returns' | 'hundredweight' | 'reship' | 'unknown' — Fulfillment methodology of the shipment.
    - `ignoreCarrierMinimumDimensions` boolean — When "true", the minimum dimensions of carriers will effectively be ignored when deciding if a carrier service method is eligible to be considered during carrier selection.
    - `ignoreUpgradeSpendLimits` boolean — Indicates that this shipment can ignore all the partner-configured upgrade limits for the potential upgrade required to deliver the shipment by the desired delivery date.
    - `includeInjectionProfiles` boolean — When "true", service methods from the configured InjectionProfiles will be considered during carrier selection.
    - `injectionParameters` InjectionParameter[] — A list of Injection Profile and/or Injection Profile/Site tuples that should be considered during parcel carrier selection. If an InjectionSite is specified, it must be accompanied by an InjectionProfile
      - `injectionProfileId` string — The shipium ID or the partner-provided ID of an InjectionProfile that should be considered during carrier selection.
      - `injectionSiteId` string — The shipium ID or the partner-provided ID of an InjectionSite that should be considered during carrier selection. If an injectionSiteId is specified, it must be accompanied by an injectionProfileId
    - `lastMileDeliveryOptions` LastMileDeliveryOptions — A collection of fields used for instructing carriers on how to handle last mile delivery.
      - `deliveryInstruction` 'LEAVE_AT_DOOR' | 'MEET_AT_DOOR' — Instructions passed to the carrier on how to handle on delivery.
      - `undeliverableInstruction` 'LEAVE_AT_DOOR' | 'RETURN' | 'DESTROY' — Instructions passed to the carrier on how to handle packages that go undelivered
      - `tip` Tip — Field passed to carriers like Uber to specify the tip
        - `type` 'FIXED' | 'PERCENTAGE' — Define the type of tip
        - `value` number, float — Fix amount or percentage value for the tip
        - `currency` string
      - `tipForLabelCreate` Tip — Field passed to carriers like Uber to specify the tip
        - `type` 'FIXED' | 'PERCENTAGE' — Define the type of tip
        - `value` number, float — Fix amount or percentage value for the tip
        - `currency` string
      - `deliverableActionForLabelCreate` 'RETURN' | 'LEAVE_AT_DOOR' | 'DISCARD' | 'MEET_AT_DOOR'
      - `undeliverableActionForLabelCreate` 'RETURN' | 'LEAVE_AT_DOOR' | 'DISCARD' | 'MEET_AT_DOOR'
    - `pickupWindow` TimeWindow — A string passed to carriers for a delivery window.
      - `startWindow` string, required — A time without any date or timezone
      - `endWindow` string, required — A time without any date or timezone
      - `timeZone` string
    - `preferredCarrierDeliveryDateTime` string, date-time — The string representation of either an ISO-8601 date. The datetime the package is intended to arrive to the customer. This will be passed through to the carrier.
    - `saturdayDelivery` boolean — Indicates that this shipment is marked for Saturday delivery. Does not guarantee delivery on Saturday
    - `serviceMethodPoBoxAllowList` string[] — A list of serviceMethodIds that will be considered for USPS PO box delivery that otherwise would be filtered out as they don't support USPS PO box delivery for the shipment.
    - `shipOption` string — A high-level shipping option shown to or selected by a customer. This is only applicable when calculating the parcel carrier selection for this item.
    - `thirdPartyBillingSetId` string — Either the shipium third party billing set ID or the partner provided third party billing set ID. When present, this is used to indicate the third party billing set that should be used for the billing of the shipment.
  - `packedShipments` LoadPackagingDetails[] — 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.
    - `declaredValue` CurrencyAmount — The amount that should be paid by the recipient upon delivery of the package.
      - `amount` number, float, required — The amount of money.
      - `currency` string — The ISO-4217 currency code that the amount is in. This is required unless a default currency unit is supplied elsewhere. If this and a default are both supplied, this will take priority.
    - `loadPackagingType` 'loose' | 'overboxed' | 'piece' | 'wrapped' | 'pallet' — How the parcels in the load are packaged together.
    - `loadPackagingSize` LoadPackagingSize, required — Dimensions for packaging containing the parcels.
      - `height` number, float, required — The height that parcels are stacked within the packaging.
      - `length` number, float, required — The longer horizontal dimension that parcels occupy within the packaging.
      - `linearUnit` 'in' | 'cm' — The unit of measure for linear dimensions (length, width, height). This will override the value configured in the root level `units` object. If the root level `units` object is not provided, this field will be required.
      - `weight` number, float, required — The total weight of parcels within the packaging.
      - `weightUnit` 'g' | 'kg' | 'oz' | 'lb' — The unit of measure for weight of parcels within the packaging. This will override the value configured in the root level `units` object. If the root level `units` object is not provided, this field will be required.
      - `width` number, float, required — The shorter horizontal dimension that parcels occupy within the packaging.
    - `nmfcFreightClass` string, required — A string representing the broad class of products being shipped in this load. This should be the largest (i.e. 51 > 50) NMFC class of any of the products in the load. For example, both bricks and steel pipes have a NMFC class of `50`
  - `shipments` LtlShipmentItemSummary[] — The shipment ids of all package shipments in this LTL shipment.
    - `partnerShipmentId` string — An optional unique identifier that may be used for this shipment.
    - `shipiumShipmentId` string — The Shipium-generated unique identifier for this shipment.

---

[API](https://skmtc.net/shipium/apis/shipium-api.md) · [All operations](https://skmtc.net/shipium/apis/shipium-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/shipium/shipium-api/revisions/7ef5dbd6a025/schema)
