Shared inventory fires callback when slot (item) is removed:
Lua Code:
local function OnSlotRemoved(bagId, slotIndex, oldSlotData)
--do some stuff here
end
SHARED_INVENTORY:RegisterCallback("SlotRemoved", OnSlotRemoved)
http://esodata.uesp.net/current/src/...y.lua.html#254