Skip to main content

GroupedShipment

Represents a primary shipment grouped with its child shipments.

Used by the supplyShipmentsGrouped query to return a hierarchical view where primary shipments (no parent) contain their filtered child shipments. The client can rebuild the full tree using parent_shipment_id on each child.

type GroupedShipment {
childShipments: [SupplyShipment!]!
shipment: SupplyShipment!
totalChildCount: Int!
}

Fields

GroupedShipment.childShipments ● [SupplyShipment!]! non-null object

Filtered child shipments (flat list; use parentShipmentId to rebuild tree)

GroupedShipment.shipment ● SupplyShipment! non-null object

The primary shipment (root of the hierarchy)

GroupedShipment.totalChildCount ● Int! non-null scalar

Total number of children (unfiltered) for this primary shipment

Member Of

GroupedShipmentConnection object ● GroupedShipmentEdge object