Look please at this setup:
- There is a main vendor on the main domain,
- There are different (many) affiliates, having own subdomains,
- Affiliate subdomains are redirected with 302! to their according subfolders,
- Subfolders are canonicalized to the main vendor site, like
Will Google display only the main vendor page,
https://example.com, in search results? Or will Google still display subdomains, because of 302?
PS: the cause of this setup is related to the internal vendor's politics of relation with affiliates and vice versa. If you want, I would explain it, but it would make a long thread.