To automatically assign guest orders to a customer account, navigate to "System" in the Operations Portal.

Then, click "Settings". In order to access and edit settings, you will need to be set up either as an “administrator” or a "superuser", or have the following roles: "settingEdit" and "settingView".

Enter "defaultConsumerCompanyCode" in the "Search..." field.

Click on the more details icon.

In the "Value" field, enter the company code to which you want guest orders assigned.

Click "Save".

To check, you can test placing a guest order from the commerce site. Check the orders in the Operations Portal. You will see that the guest order has been assigned automatically to the default consumer company that you set.
