nodesReceiving
Since pyck v0.27.0
Lookup nodes by a list of IDs.
Served by: receiving
Arguments
Section titled “Arguments”| Name | Type | Default | Description |
|---|---|---|---|
ids |
[ID!]! | The list of node IDs. |
Returns
Section titled “Returns”Example
Section titled “Example”Fetches several receiving inbounds by their global IDs in one request. The result has one entry per ID, in the order of the IDs, and null for an ID that matches no object.
query GetNodesReceiving($ids: [ID!]!) { nodesReceiving(ids: $ids) { id ... on ReceivingInbound { tenantID dataTypeSlug data createdAt supplierID } }}Variables
{ "ids": [ "<receiving inbound ID>" ]}