What's an item in Serializer?
An item represents a single, individually trackable unit of a product. While a product or variant may be sold in multiple quantities, each item contains unique information that distinguishes it from every other unit of the same product.
Items are typically used when you need to track or store per-unit data such as:
Serial numbers
Auto-generated item IDs (can be used as serial numbers)
Warranty duration
Custom fields, specific to that unit, e.g. condition, IMEI, certification code, batch or lot numbers, etc.
Example
You sell a camera and a customer buys 2 of the same camera.
The product is the camera
The variant might be the colour or model
Each physical camera is stored as a separate item
Each item can have its own serial number and warranty, even though they are the same product.
Why items matter
Items allow you to:
Track individual products before and after purchase
Register warranties per unit
Store custom per-unit details without affecting other units
In short, items let you track what happens to each individual product, not just the product as a whole.
Last updated