get('/user', function (Request $request) { return $request->user(); }); // Product Batch Routes Route::prefix('product-batches')->group(function () { Route::post('/', [ProductBatchController::class, 'store']); Route::get('/stock/{productId}/{branchId}', [ProductBatchController::class, 'getStock']); Route::post('/deduct', [ProductBatchController::class, 'deductStock']); });