# Stock history

> See every change to stock, with the count before and after, who or what made it and why: orders, refunds, returns, counts, transfers, purchase orders and MAM syncs.

Source: https://docs.bifrostorbit.com/commerce/everyone/stock-history/

Every time a stock count changes, Commerce Orbit writes it down. Open **Stock and locations** and select **Stock history**, or select **History** under a variant to see only that variant.

Each line shows:

- when it happened
- the product, variant and SKU
- the location
- the change, such as -2 or +10
- the count before and after
- why, with a link to the order, transfer, purchase order or return
- who did it: a person in your team, a customer's order, Stripe, or MAM

## What leaves a line

| Why | When |
| --- | --- |
| Ordered | A customer checks out, or a [draft order](https://docs.bifrostorbit.com/commerce/everyone/draft-orders/) is placed. |
| Unpaid order released | A card payment wasn't finished in time and the stock came back. |
| Order cancelled | You cancel an order and put the items back. |
| Refunded and restocked | You refund items and choose to put them back in stock. |
| Return received | A [return](https://docs.bifrostorbit.com/commerce/everyone/returns/) arrives and you put items back. |
| Order changed | You [edit an order](https://docs.bifrostorbit.com/commerce/everyone/edit-orders/) and add or remove items. |
| Counted by hand | You change a number on a product. |
| Transfer | A [transfer](https://docs.bifrostorbit.com/commerce/everyone/transfers/) leaves one location or arrives at another. |
| Purchase order received | Stock from a [purchase order](https://docs.bifrostorbit.com/commerce/everyone/purchase-orders/) arrives. |
| Synced from MAM | The MAM stock sync brings a new number. |

Filter by location or reason at the top. The newest 200 changes show first; select **Older changes** to go further back.

The history is kept when products change, so you can always work out why a count is what it is. For example, if the Tind 2 tent shows 3 in Bergen, the history shows the 10 that arrived on a transfer and the 7 that sold since.
