Help Center Inventory Management What happens to stock when an order is placed or cancelled?

What happens to stock when an order is placed or cancelled?

Automated Inventory Synchronization

You never have to manually adjust your stock count every time an order is placed. StoreYug features an automated synchronization engine that connects customer orders directly with your inventory ledger.

When an Order is Placed (Immediate Stock Deduction)

Stock deduction happens the moment an order is placed (via WhatsApp checkout, your online storefront, or in-store POS billing). The initial status created is "Placed":

  1. StoreYug checks if each ordered item has Track Inventory enabled.
  2. For tracked variants, it immediately executes an automated SALE_OUT movement.
  3. Using FIFO logic, units are deducted from your oldest purchase batches.
  4. The Stock Ledger creates an entry linked directly to the customer's Order Receipt Number.
💡 Why deduct at Order Placement? Deducting stock immediately at placement protects your business against overselling. If you only have 1 item left in stock, it is reserved the instant a customer places their order so another customer browsing your storefront cannot purchase the same item while you review the order!

What Happens When You Mark an Order as "Confirmed"?

When you later confirm the order (Update Status → Mark Confirmed) or move it to the next stages, StoreYug's built-in safeguard checks your stock ledger. Because the units were already deducted at placement, StoreYug safely preserves your balance and prevents double deduction.

When an Order is Cancelled or Rejected (Stock Reversal)

When an order is cancelled (Update Status → Cancel Order), stock comes back automatically:

  • StoreYug adds a REVERSAL entry to the ledger and returns the reserved units to your available stock at weighted average cost, so other buyers can purchase them.
  • There is nothing to tick in the cancel window.
  • If an item was actually broken, expired or lost before packing, cancel the order first, then write the item off with Inventory → Adjust Stock (reason Damaged or Expired).

Returns of delivered orders work differently: there you choose whether to restock (see How do I handle customer returns in inventory?).

ℹ️ Subscription Requirement: Automated order deductions and reversals are active for stores whose subscription plan includes the Inventory Management feature.
Was this guide helpful?