Package Object

The new package object describes the package information needed when creating a new label.

Properties

NameTypeNullable?Description
package_codestring

Optional code used to map to what the carrier uses to identify the packaging.

dimension_details

dimension details object

The dimensions for the package.

weight_details

weight details object

The weight for the package.

insured_valueobject

The insured value of this shipment.

insured_value.amountnumber

The value of the insured amount.

insured_value.currencystring

The currency that the value represents.

label_messagesobject

User defined messages for the label.

label_messages.reference1string

The first custom message text.

label_messages.reference2string

The second custom message text.

label_messages.reference3string

The third custom message text.

customs

customs object

The customs associated with this package.