Add user ID to woocommerce customer dashboard

WooCommerce doesn’t provide any such hook to display User ID on the dashbaord.

But you can add it by overwriting dashboard template into your theme file. You can view in brief of how to overwrite templates from below WooCommerce reference link.

https://docs.woocommerce.com/document/template-structure/

You need to copy template dashboard.php file from WooCommerce plugin template to woocommerce/myaccount/ folder in your theme.

You can use a code to display User ID anywhere on the dashboard page.

<?php echo esc_html( $current_user->ID ); ?>