A package to be shipped through a shipping service offering.

Package

interface Package {
    charges?: ChargeComponent[];
    dimensions: Dimensions;
    insuredValue: Currency;
    isHazmat?: boolean;
    items: Item[];
    packageClientReferenceId: string;
    sellerDisplayName?: string;
    weight: Weight;
}

Properties

charges?: ChargeComponent[]

A list of charges based on the shipping service charges applied on a package.

Package

dimensions: Dimensions

Package

insuredValue: Currency

Package

isHazmat?: boolean

When true, the package contains hazardous materials. Defaults to false.

Package

items: Item[]

A list of items.

Package

packageClientReferenceId: string

A client provided unique identifier for a package being shipped. This value should be saved by the client to pass as a parameter to the getShipmentDocuments operation.

Package

sellerDisplayName?: string

The seller name displayed on the label.

Package

weight: Weight

Package