Skip to main content

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.

Added in Saleor 3.22
Requires one of the following permissions: HANDLE_PAYMENTSMANAGE_ORDERS
transactions(
where: TransactionWhereInput
before: String
after: String
first: Int
last: Int
): TransactionCountableConnection

Arguments

transactions.where ● TransactionWhereInput input payments

Where filtering options for transactions.

transactions.before ● String scalar miscellaneous

Return the elements in the list that come before the specified cursor.

transactions.after ● String scalar miscellaneous

Return the elements in the list that come after the specified cursor.

transactions.first ● Int scalar miscellaneous

Retrieve the first n elements from the list. Note that the system only allows fetching a maximum of 100 objects in a single query.

transactions.last ● Int scalar miscellaneous

Retrieve the last n elements from the list. Note that the system only allows fetching a maximum of 100 objects in a single query.

Type

TransactionCountableConnection object payments