The most common way to structure B2B and B2C eCommerce on the same domain is to have a separate section or page for each. For example, you might have a "/b2b/" section for your B2B products and a "/b2c/" section for your B2C products. Each section would then have its own set of pages, URLs, etc.
Another way to structure B2B and B2C eCommerce on the same domain is to have separate domains altogether. For example, you might have "b2b.example.com" and "b2c.example.com". This can be helpful if you want to keep the two audiences completely separate, or if you want to tailor the experience to each audience specifically.
Ultimately, there is no right or wrong way to structure B2B and B2C eCommerce on the same domain. It depends on your specific needs and goals.