# nodeReceiving

Audience: Programmer

Fetches an object given its ID.

Fetches an object given its ID.

**Served by:** [receiving](https://docs.pyck.cloud/latest/api/services/receiving.md)

## Arguments

| Name | Type | Default | Description |
| --- | --- | --- | --- |
| `id` | ID! |  | ID of the object. |

## Returns

[NodeReceiving](https://docs.pyck.cloud/latest/api/interfaces/nodereceiving.md)

## Example

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

```graphql
query GetNodeReceiving($id: ID!) {
  nodeReceiving(id: $id) {
    id
    ... on ReceivingInbound {
      tenantID
      dataTypeSlug
      data
      createdAt
      supplierID
    }
  }
}
```

**Variables**

```json
{
  "id": "<receiving inbound ID>"
}
```
