Merchant inventory refreshes after long rests and level ups, some stock won't appear until you get a high enough level, eg: better generic armor and potions, higher level scrolls.
You won't find new unique items by refreshing merchant inventory unless it's due to being hidden by level requirement but I don't know of any.
Some merchants relocate and get new unique items doing so, eg: Dammon, Roah Moonglow.