Do you mean selling an item or offering an item in a merchant's offer ?
First thing is simple, just enter any price at the item.
You can look into revival data, where all event things can be sold.
Table "items", parameters"buyPriceMult","buyPriceAdd" and "sellPriceMult","sellPriceAdd"
Second thing is very difficult, you must edit treasure table with merchant offer...