How to get BundleKey in EntityManager after getting storage of entity?
You can get bundleKey of your entity type by this way:

$type = 'commerce_product';
$bundle_key = \Drupal::entityTypeManager()-&gt;getDefinition($type)-&gt;getKey('bundle');