transactions
Audience: Programmer
Served by: inventory
Arguments
Name
Type
Default
Description
first
Int
Returns the first n elements from the list.
last
Int
Returns the last n elements from the list.
Returns
Example
Returns the 3 most recent inventory transactions.
query GetTransactions($after: Cursor, $first: Int, $before: Cursor, $last: Int, $orderBy: TransactionOrder, $where: TransactionWhereInput) {
transactions(after: $after, first: $first, before: $before, last: $last, orderBy: $orderBy, where: $where) {
totalCount
pageInfo {
hasNextPage
hasPreviousPage
startCursor
endCursor
}
edges {
cursor
node {
createdAt
createdBy
deletedAt
deletedBy
id
itemID
quantity
repositoryID
tenantID
type
updatedAt
updatedBy
}
}
}
}Variables
Last updated
Was this helpful?
