To get objects of all the opened orders of a particular user, we can again use our entityTypeManager
To get objects of all the opened orders of a particular user, we can again use our entityTypeManager
For debugging purposes I need to clear cache for particular drupal commerce order, but this can be done for any entity, just replace table name and id's in code below
 $table = 'cache_entity_commerce_order';
 $id ="776764";
 cache_clear_all($id, $table);