# Entity Hierarchy
source: https://developer.mastercard.com/commercial-connect-api/documentation/use-cases/entity-hierarchy/index.md

The Commercial Connect API enables partners to get their entity identifier and hierarchy information to register a real card and handle card management.
Note: The entity identifier and hierarchy information are required to register a real card.

## Get your entity identifier {#get-your-entity-identifier}

Partners use this endpoint to get the unique entity identifier (`entityId`) and entity information relevant to managing real and virtual cards.
Diagram entity-guid
API Reference: `GET /hierarchies/entities`

## Get your issuer and customer identifier {#get-your-issuer-and-customer-identifier}

Partners use this endpoint to get the descendant entity information with a single API call. The descendant entity information includes identifiers for all companies and corporate entities that partners manage in their hierarchy.
Diagram entity-descd
API Reference: `GET /hierarchies/{entity_id}/descendants`

