createShipmentScan

abstract suspend fun createShipmentScan(shipmentId: String, title: String, dimensions: Dimensions?, weight: Float?, freightClass: String?, locationData: LocationData?, notes: String?, status: String?, scanType: ShipmentScanType = ShipmentScanType.DOCUMENT): Result<ShipmentScan>

Records a new scan event for a shipment.

Parameters

shipmentId

The parent shipment.

scanType

The category of scan (e.g., DIMENSION, DOCUMENT, PALLET).

locationData

Optional GPS coordinates where the scan occurred.