nodeReceiving
Fetches an object given its ID.
Served by: receiving
Arguments
Section titled “Arguments”| Name | Type | Description |
|---|---|---|
id |
ID! | ID of the object. |
Returns
Section titled “Returns”Example
Section titled “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.
query GetNodeReceiving($id: ID!) { nodeReceiving(id: $id) { id ... on ReceivingInbound { tenantID dataTypeSlug data createdAt supplierID } }}Variables
{ "id": "<receiving inbound ID>"}