Skip to content

node

Fetches an object given its ID.

Served by: maindata

Name Type Description
id ID! ID of the object.

Node

Fetches one customer by its global ID. The inline fragment selects the Customer fields; the lookup returns null when no object has that ID.

query GetNode($id: ID!) {
node(id: $id) {
id
... on Customer {
tenantID
dataTypeSlug
data
createdAt
}
}
}

Variables

{
"id": "<customer ID>"
}