The default Magento 2 product import feature only allows you to specify the category path string in the import file. How can I import product by using the category ID instead?
The extension in the link below allows you to import product into Magento 2, by using the category ID.
i have gone to same module before,but have some problem in di.xml,i have small and effective way to do it,it is simple
Just Override This File :/vendor/magento/module-catalog-import-export/Model/Import/Product/CategoryProcessor.php
and find function public function upsertCategories() change whole code of this function like as below
in this sollution u can set category ids like below
it will accept category id as well as full category path as default. Thanks