Some NPCs are merchants who sell items. Most NPC shops have a daily buy limit of 640 items, which resets at 12:00 AM GMT, or 8:00 PM EST.