Admin API / Queries

members

Members of this marketplace, in every status. Requires the MODERATOR role or higher. Defaults to JOINED_AT descending. Reads at most the first 1,000 members (1,000,000 for Soho): narrow where or query to read others.

Requires a client key with one of these scopes: admin:members:readRequires this member role or higher: MODERATOR
members(
  after: String
  first: Int
  query: String
  sort: MemberSortInput
  where: MemberWhereInput
): MemberConnection!

Arguments

ArgumentTypeDescription
afterStringReturn members after this cursor.
firstIntMaximum number of members to return. Defaults to 20, at most 100 (10,000 for Soho).
queryStringMatches the username, or the first and last name, case-insensitive, anywhere in the text. Does not match an email or a phone number. A blank value matches every member.
sortMemberSortInputSort order. Defaults to JOINED_AT descending.
whereMemberWhereInputMember filters. Without status, the list has ACTIVE, BANNED and INACTIVE members. With every filter, the list and totalCount leave out a user who asked to delete the account.

Return type

MemberConnection!