Skip to content

Lots

Product lots, with expiry date and status.

Module: Warehouses & inventory (inventory).

  • GET /api/v1/stock_lots - List with filters, sorting and pagination (scope inventory:read)
  • GET /api/v1/stock_lots/{id} - A record by id (scope inventory:read)
  • POST /api/v1/stock_lots/{id}/set_status - Blocks or unblocks the lot. (scope inventory:write)
  • 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)
  • stock_lots.created
  • stock_lots.updated
  • stock_lots.deleted