I don’t want to load the product to get the product type.
How could I get the product type by id? Today I’m using the get product type by SKU using the interface:
MagentoInventoryCatalogApiModelGetProductTypesBySkusInterface
Using:
$this->getProductTypeBySku->execute([$item->getSku()])