Query / commerce
listInvoices
List invoices with pagination, filtering, and sorting. Requires invoice:list permission.
Arguments
firstIntNumber of items to return from the start (forward pagination)
afterStringCursor pointing to the item after which to start
filterInvoiceFilterInputFilter criteria for invoices
sort[InvoiceSortInput!]Sort order for results
Returns InvoiceConnection!
Explore in a view
View exact SDL
"""
List invoices with pagination, filtering, and sorting. Requires invoice:list permission.
"""
listInvoices(
"""Number of items to return from the start (forward pagination)"""
first: Int
"""Cursor pointing to the item after which to start"""
after: String
"""Filter criteria for invoices"""
filter: InvoiceFilterInput
"""Sort order for results"""
sort: [InvoiceSortInput!]
): InvoiceConnection! @topic(names: ["commerce"])Schema reference describes the API contract. Actual access is checked by the platform for every operation.