It's good to see you here in the Community, shivam2.
You can alter your inventory stock through the Products and Services menu in QuickBooks Online (QBO). On the said page, you have the option to update the product or service information (i.e. category, quantity on hand, sales price, cost, and accounts).
You'll have to manually adjust your inventory quantity to match what you have in stock and change your stock details. Let me guide you how.
Go to the Gear icon.
Choose Products and services.
Find the inventory stock, select the drop-down arrow under the Action column, then select Adjust quantity.
On the Inventory Quantity Adjustment window, change the adjustment date (if necessary) and all other necessary information (i.e. account, new quantity, or change in quantity).
Select Save and close.
To get more details about this process, check out this article: Adjust inventory quantity on hand in QuickBooks Online. You can also find another way on how to adjust the quantities of your items as well as the steps to delete an adjustment.