Lots
Product lots, with expiry date and status.
Module: Warehouses & inventory (inventory).
Endpoints
Section titled “Endpoints”GET /api/v1/stock_lots- List with filters, sorting and pagination (scopeinventory:read)GET /api/v1/stock_lots/{id}- A record by id (scopeinventory:read)POST /api/v1/stock_lots/{id}/set_status- Blocks or unblocks the lot. (scopeinventory:write)
Fields
Section titled “Fields”id(string, uuid; read): Unique identifier (UUID).product_id(string, uuid; read)lot_code(string; read)expires_at(string, date; read)received_at(string, date; read)supplier_id(string, uuid; read)created_at(string, date-time; read): Creation date (ISO 8601).status(string; read)status_note(string; read)status_at(string, date-time; read)status_by(string; read)
Events
Section titled “Events”stock_lots.createdstock_lots.updatedstock_lots.deleted