---
title: "ID"
generated: true
---
<GenerationInfo sourceFile="packages/common/src/shared-types.ts" sourceLine="79" packageName="@vendure/common" />

An entity ID. Depending on the configured <DocsLink href="/reference/typescript-api/configuration/entity-id-strategy#entityidstrategy">EntityIdStrategy</DocsLink>, it will be either
a `string` or a `number`;

```ts title="Signature"
type ID = string | number
```
