Skip to main content

PackingItem

One line resolved to base units with its per-unit size and weight.

type PackingItem {
fragile: Boolean!
heightCm: Float
label: String!
lengthCm: Float
ownPackaging: Boolean!
quantity: Float!
sizeSource: PackingValueSource!
variantId: ID!
weightKg: Float!
weightSource: PackingValueSource!
widthCm: Float
}

Fields​

PackingItem.fragile ● Boolean! non-null scalar​

Packed apart from non-fragile items (Product.metadata.deliveryFlags.fragile).

PackingItem.heightCm ● Float scalar​

The height, in centimetres.

PackingItem.label ● String! non-null scalar​

The name of the item.

PackingItem.lengthCm ● Float scalar​

The length, in centimetres.

PackingItem.ownPackaging ● Boolean! non-null scalar​

True when the item ships in its own packaging.

PackingItem.quantity ● Float! non-null scalar​

Base units.

PackingItem.sizeSource ● PackingValueSource! non-null enum​

Where the size came from.

PackingItem.variantId ● ID! non-null scalar​

The ID of the product variant.

PackingItem.weightKg ● Float! non-null scalar​

Per base unit; 0 when unknown.

PackingItem.weightSource ● PackingValueSource! non-null enum​

Where the weight came from.

PackingItem.widthCm ● Float scalar​

The width, in centimetres.

Member Of​

DeliveryBoxFitPreview object ● PackingResult object