Skip to content
Saleor
Esc
↑↓navigate↵open⌘Jpreview

Schema: Saleor 3.23.43Download SDLUpgrade guides

On this page

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, 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.23

before

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.

Last updated on April 13, 2026

Was this page helpful?