Skip to content

Stock movements

Stock receipts, issues, transfers and adjustments.

Module: Warehouses & inventory (inventory).

  • GET /api/v1/stock_movements - List with filters, sorting and pagination (scope inventory:read)
  • GET /api/v1/stock_movements/{id} - A record by id (scope inventory:read)
  • POST /api/v1/stock_movements - Create a record (scope inventory:write)
  • id (string, uuid; read): Unique identifier (UUID).
  • product_id (string, uuid; write, required)
  • warehouse_id (string, uuid; write)
  • lot_id (string; write)
  • qty (number; write)
  • unit_cost (number; write)
  • kind (string; write, required)
  • ref_type (string; read)
  • ref_id (string, uuid; read)
  • transfer_id (string, uuid; read)
  • note (string; write)
  • occurred_at (string, date-time; read)
  • created_by (string; read)
  • created_at (string, date-time; read): Creation date (ISO 8601).
  • voided (boolean; read)
  • cost_fixed (boolean; read)
  • value_adj (number; read)
  • reverses_id (string, uuid; read)
  • retail_price (number; read)
  • retail_vat (number; read)
  • retail_adj (number; read)
  • from_warehouse_id (string; write)
  • to_warehouse_id (string; write)
  • counted (number; write)
  • lot_code (string; write)
  • expires_at (string, date; write)
  • stock_movements.created
  • stock_movements.updated
  • stock_movements.deleted