"The product object that is returned in a Subscription doesn’t have an obvious attribute to differentiate portal products from hosted repo products. They all have type: service , so the name attribute seems to be the only way to tell apart different product types. But the names don’t look to be strictly controlled, for example, Small Organization . It would be nice to have a product category attribute (or similar), where category would be set to one of a defined list of product types, such as portals, hostedrepo, etc."
From @laurenwalker
"The product object that is returned in a Subscription doesn’t have an obvious attribute to differentiate portal products from hosted repo products. They all have type: service , so the name attribute seems to be the only way to tell apart different product types. But the names don’t look to be strictly controlled, for example, Small Organization . It would be nice to have a product category attribute (or similar), where category would be set to one of a defined list of product types, such as portals, hostedrepo, etc."