DeliveryBoxFitPreview
How many of one product variant one box holds by the packing engine's rules, what limits it, and a suggested arrangement (which may place fewer: the engine counts volume only).
type DeliveryBoxFitPreview {
capacity: Int!
capped: Boolean!
item: PackingItem!
layout: PackedBoxLayout!
limitedBy: BoxFitLimit!
}
Fields
DeliveryBoxFitPreview.capacity ● Int! non-null scalar
How many the packing engine puts in one such box (counted up to 100,000).
DeliveryBoxFitPreview.capped ● Boolean! non-null scalar
True when the box holds more than capacity: the count stopped at its limit.
DeliveryBoxFitPreview.item ● PackingItem! non-null object
The variant as packing sees it (size, weight, where each came from), per unit.
DeliveryBoxFitPreview.layout ● PackedBoxLayout! non-null object
The counted units arranged in the box's inside size.
DeliveryBoxFitPreview.limitedBy ● BoxFitLimit! non-null enum
What caps the count.
Returned By
deliveryBoxFitPreview query