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 → at_destination → delivered).
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
Timestamp when this status record was created (when the transition occurred)
SupplyShipmentStatus.id ● ID! non-null scalar
The unique identifier of the status record
SupplyShipmentStatus.performedBy ● Party object
The party (user/system) who performed this status transition
SupplyShipmentStatus.performedById ● ID scalar
ID of the party who performed this status transition
SupplyShipmentStatus.previousStatusName ● SupplyShipmentStatusEnum enum
The previous status before this transition (useful for understanding the status flow)
SupplyShipmentStatus.shipment ● SupplyShipment! non-null object
The shipment this status record belongs to
SupplyShipmentStatus.statusName ● SupplyShipmentStatusEnum! non-null enum
The status at this point in the shipment's history
SupplyShipmentStatus.supplyShipmentId ● ID! non-null scalar
ID of the shipment this status record belongs to
SupplyShipmentStatus.updatedAt ● ISO8601DateTime! non-null scalar
Timestamp when this status record was last updated
Member Of
SupplyShipment object