deleteListing

Reference

---@param id number -- The listing id
---@return boolean success
function deleteListing(id) end

Deletes the listing regardless of who owns it (a staff override), and removes every review attached to that listing.

Usage example

  local removed = exports.fd_laptop:deleteListing(5)

  if not removed then
      print('Listing not found')
  end

Copyright © 2025 Felis Development