Parcel
The dimensions and weight of the package.
Rules (not enforced by JSON schema):
-
You may either:
• Provide only
id• OR omitidand provideweight(dimensions optional) - If any of
length,width, orheightis provided, all three must be provided.
- heightType: number | null
Height of the parcel (optional; must be sent with length + width if sent)
- idType: string | null
Unique parcel identifier (required if weight is not provided)
- itemsType: array object[] | null · LineItem[]
Line items inside the parcel
Individual item contained within a parcel
- descriptionType: stringrequired
Human-readable item description
- quantityType: integerrequired
Number of items of this type in the parcel
- codeType: string | null
Internal or SKU code
- currencyType: string | null
Currency for declared values
- externalType: string | null
_id External identifier used by your system
- hsType: string | null
_tariff _number Harmonized System tariff number for customs
- originType: string | null
_country Country of origin for customs
- taxesType: array object[] | null
Taxes applied to the item
- unitType: number | null
_value Declared value of a single item
- unitType: number | null
_weight Weight of a single item
- valueType: number | null
Total declared value of the items
- weightType: number | null
Total weight of all items of this type
- lengthType: number | null
Length of the parcel (optional; must be sent with width + height if sent)
- predefinedType: string | nullenum
_package Carrier-specific predefined package type
values- C
A R D - F
E D E X10 K G B O X - F
E D E X25 K G B O X - F
E D E X E N V E L O P E - F
E D E X E X T R A L A R G E B O X
- weightType: number | null
Total package weight (required unless id is provided)
- widthType: number | null
Width of the parcel (optional; must be sent with length + height if sent)