Serial Numbers

Group: Inventory

Open in the interactive reference

A serial number identifies one physical unit of an item and records its stock and cost.

A serial number record is one unit of an item, identified by its serial number.

Serial number records are created by these documents:

A serial number record is not deleted when its unit leaves stock. After a shipment, for example, the serial number record has inStock 0 and isSold true.

If the unit comes back later, the same serial number record is used again. What happens to its cost depends on how the unit comes back:

Serial number records cannot be deleted. To take a unit out of use, set active to false with PATCH inventory/serial-numbers/:id. You cannot change a unit's cost, originalCost, afterSaleCost, inStock, isSold, or locationId with PATCH. Documents that move or revalue stock, such as receipts, shipments, warehouse transfers, and inventory revaluations, change these fields.

In the application, a unit whose active is false is not offered for picking. Documents created through the API do not check active, so check it yourself before you name a unit on a shipment or other outbound document.

A unit has its own cost and originalCost only when its item's valuationMethod is 'serials'. See valuationMethod on GET inventory/items/:id (getItem).

Endpoints