transactions Query
List of transactions. For apps with MANAGE_ORDERS permission, returns all transactions. For apps with just HANDLE_PAYMENTS permission, returns only transactions created by that app. For staff users, returns transactions from orders and checkouts in channels they have access to.
transactions(where: TransactionWhereInput, sortBy: TransactionSortingInput, before: String, after: String, first: Int, last: Int): TransactionCountableConnection
Returns
TransactionCountableConnection
Show return type
type TransactionCountableConnection {
pageInfo: PageInfo!
edges: [TransactionCountableEdge!]!
totalCount: Int
}Arguments
where
where · TransactionWhereInput
Where filtering options for transactions.
sortBy
sortBy · TransactionSortingInput
Sort transactions.
Added in Saleor 3.23before
before · String
Return the elements in the list that come before the specified cursor.
after
after · String
Return the elements in the list that come after the specified cursor.
first
first · Int
Retrieve the first n elements from the list. Note that the system only allows fetching a maximum of 100 objects in a single query.
last
last · Int
Retrieve the last n elements from the list. Note that the system only allows fetching a maximum of 100 objects in a single query.
Schema: Saleor 3.23.43. Download SDL.