# LegacyIdElementsInput

Input · GraphQL API

A legacy ID paired with its type, used for batch ID lookup.

## Fields

- `legacyId` (`ID!`) — required: The legacy ID.
- `type` (`LegacyIdType!`) — required: The type of the legacy ID.

## Used by

- [IdsFromLegacyIdsInput](/braintree/graphql/reference/types/ids-from-legacy-ids-input) — Input; ids

## GraphQL definition

```graphql
input LegacyIdElementsInput {
  legacyId: ID!
  type: LegacyIdType!
}
```

---

[View the complete GraphQL schema on GitHub](https://raw.githubusercontent.com/braintree/graphql-api/refs/heads/master/schema.graphql)