Skip to main content

SupplyShipmentStatus

Represents a status record in the shipment status history.

Each status record tracks when a shipment transitioned to a new status and who performed the transition. The status history maintains a complete audit trail of all status changes for a shipment, with records ordered by most recent first.

Status Transitions

Each record captures both the current status and the previous status, making it easy to understand the flow of transitions. This enables tracking of when and by whom the shipment moved between statuses (pending → in_transit → delivered → in_receiving → closed).

type SupplyShipmentStatus {
createdAt: ISO8601DateTime!
id: ID!
performedBy: Party
performedById: ID
previousStatusName: SupplyShipmentStatusEnum
shipment: SupplyShipment!
statusName: SupplyShipmentStatusEnum!
supplyShipmentId: ID!
updatedAt: ISO8601DateTime!
}

Fields

SupplyShipmentStatus.createdAt ● ISO8601DateTime! non-null scalar common

Timestamp when this status record was created (when the transition occurred)

SupplyShipmentStatus.id ● ID! non-null scalar common

The unique identifier of the status record

SupplyShipmentStatus.performedBy ● Party object common

The party (user/system) who performed this status transition

SupplyShipmentStatus.performedById ● ID scalar common

ID of the party who performed this status transition

SupplyShipmentStatus.previousStatusName ● SupplyShipmentStatusEnum enum shipments

The previous status before this transition (useful for understanding the status flow)

SupplyShipmentStatus.shipment ● SupplyShipment! non-null object shipments

The shipment this status record belongs to

SupplyShipmentStatus.statusName ● SupplyShipmentStatusEnum! non-null enum shipments

The status at this point in the shipment's history

SupplyShipmentStatus.supplyShipmentId ● ID! non-null scalar common

ID of the shipment this status record belongs to

SupplyShipmentStatus.updatedAt ● ISO8601DateTime! non-null scalar common

Timestamp when this status record was last updated

Member Of

SupplyShipment object