Generally speaking only companies with a presence in that State ae required to charge their online (web) customers sales tax. If they have no presence in NY State, they do not have to collect sales tax from their customers.
New York decided that any retailer that pays commission to any New York person or company to refer customers to their website is considered to have a NY presence and thus required to collect NY sales tax. Amazon and others are fighting NY State in court to stop this.