Hi Allan,
the entry point is the association "BusinessPartnerHierarchyGroupBusinessPartner" on the BO Customer root. From there you can traverse the hierarchy via the groups - which are hierarchy nodes with an assigned business partner.
Regards, Marcus