Receiving Inbounds
receivingInbounds Query
Returns a paginated list of ReceivingInbound objects, with optional filtering and ordering.
Arguments
after
Cursor
Returns the elements in the list that come after the specified cursor
first
Int
Returns the first n elements from the list
before
Cursor
Returns the elements in the list that come before the specified cursor
last
Int
Returns the last n elements from the list
orderBy
ReceivingInboundOrder
Ordering options for ReceivingInbounds returned from the connection
where
ReceivingInboundWhereInput
Filtering options for ReceivingInbounds returned from the connection
Return Type
ReceivingInboundConnection! - A connection to a list of ReceivingInbound objects with pagination information.
Notes
The data field contains custom inbound attributes as JSON. You can use the Data, DataHasKey, DataIn, and DataContains filters to query based on JSON content. For complex JSON field queries, see Advanced JSON Field Queries.
Usage Example
query {
receivingInbounds(
first: 10,
orderBy: { direction: DESC, field: CREATED_AT },
where: {
supplierID: "550e8400-e29b-41d4-a716-446655440000"
}
) {
edges {
node {
id
orderID
supplierID
data
inbounditems {
sku
quantity
}
attachments {
id
filename
}
createdAt
}
cursor
}
pageInfo {
hasNextPage
endCursor
}
totalCount
}
}Last updated
Was this helpful?
