completePhysicalInventory method

Future<PhysicalInventory> completePhysicalInventory(
  1. String inventoryId
)

Complete physical inventory

Implementation

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

  return PhysicalInventory.fromJson(response);
}