Hi @mediaticus
Thanks for your response.
I did the tests in the front office using the WooCommerce form to create a manager and the form in your plugin to create sub-accounts. I didn’t make a script to create users.
I checked in the back office and the users do have a ‘Username’ with the ‘Customer’ role.
I looked in the WooCommerce order metadata table. When I place an order as a manager for a sub-account, apart from the original WooCommerce metadata I only have the meta_key ‘_sfwc_order_placed_by’ which has the value ‘manager_for_default’ added.