The HardgoodFulfiller can be notified that a shipping group has been shipped in three different ways. All three methods call shippingGroupHasShipped of the HardgoodFulfiller. This takes the order ID and the shipping group ID.

The scheduled service queries the repository for all shipping groups with the state PENDING_SHIPMENT. It then calls the shippingGroupHasShipped of the HardgoodFulfiller.

The scheduled service cannot actually communicate with the warehouse. This scheduled service is useful if you do not have an extensive backend system and need a way to automatically mark shipping groups as shipped.