startPhysicalInventory method

Future<PhysicalInventory> startPhysicalInventory(
  1. String inventoryId
)

Start physical inventory

Implementation

Future<PhysicalInventory> startPhysicalInventory(String inventoryId) async {
  final response = await _apiClient.post<Map<String, dynamic>>(
    '/api/v1/inventory/physical-inventories/$inventoryId/start',
  );

  return PhysicalInventory.fromJson(response);
}