serialNumber¶
Represents a serial number or batch / lot record linked to a product. For document input, use the existing serial_numbers container; batch / lot allocations use serial_number, qty and dates. Returned available_qty is a balance, not the allocation input quantity.
Schema¶
| Field | Type | Read-only | Description |
|---|---|---|---|
id |
integer | — | Internal record ID |
serial_number |
string | — | The serial number or lot identifier |
product_identity |
string | — | Product identity linked to this serial number |
associated_part_1 |
string | — | Associated part 1 |
associated_part_2 |
string | — | Associated part 2 |
available_qty |
number | — | Available balance for this serial number / lot; not the document allocation quantity |
qty |
number | — | Lot allocation quantity in document input and document GET responses; see allocation rules |
production_date |
string (date) | — | Production / manufacture date |
expiration_date |
string (date) | — | Expiration date |
contract |
string | — | Associated contract |
item_code |
string | — | Product/article code |
Example¶
{
"serial_number": "SN-2024-001234",
"item_code": "WIDGET-A",
"production_date": "2024-01-15",
"expiration_date": "2027-01-15",
"available_qty": 1
}