If products need to be added and removed from Ecommerce categories then the [category.path] field can be added to the Product.csv file

When there are multiple categories they needed to be separated by a semicolon.

Ex: Men>Shirts;Women>Shirts

The following setting under the product import options will remove an item from any category it was previously assigned to and assign it to the categories in the [category.path] field