Query / commerce
listContacts
List contacts with pagination. Requires contact:list permission.
Arguments
firstIntNumber of items from the start
lastIntNumber of items from the end
afterStringCursor to start after
beforeStringCursor to start before
filterContactFilterInputFilter criteria
sort[ContactSortInput!]Sort order
Returns ContactConnection!
Explore in a view
View exact SDL
"""List contacts with pagination. Requires contact:list permission."""
listContacts(
"""Number of items from the start"""
first: Int
"""Number of items from the end"""
last: Int
"""Cursor to start after"""
after: String
"""Cursor to start before"""
before: String
"""Filter criteria"""
filter: ContactFilterInput
"""Sort order"""
sort: [ContactSortInput!]
): ContactConnection! @topic(names: ["commerce"])Schema reference describes the API contract. Actual access is checked by the platform for every operation.