Admin API / Types

Member

Object

A person's membership in this marketplace: the stored role and status. Not a node: user.id identifies it, and member operations take that user ID.

type Member

Fields

FieldTypeDescription
historyMemberHistoryConnection
Membership events of this member in this marketplace, newest first: joined, seller application approved or rejected, and ADMIN or MODERATOR role granted. Bans, unbans and demotions are not recorded. Some members have no MEMBER_JOINED event: joinedAt gives the join time. Offsets stop at 1,000 events (1,000,000 for Soho). Requires the ADMIN role or higher. A FORBIDDEN error with requiredRole: null means that no role change gives access.Arguments:
after: String — Return events after this cursor.
first: Int — Maximum number of events to return. Defaults to 20, capped at 100 (10,000 for Soho).
joinedAtDateTime!
When the person joined. For a person that banUser banned before they joined, the time of the ban.
lastOnlineAtDateTime
When the person last used District, in this store or any other District app or store. Changes at most once every ten minutes. Requires the OWNER role or higher.
permissionsMemberPermissions!
The chat and go-live permissions that the store staff set on this member.
profileUrlURL
The member's storefront profile page, on the store's District storefront host: its verified custom domain, else its District subdomain. The path is /u/ and the username. Null when the user has no username.
roleMarketplaceRole!
The stored role. It gives access only while status is ACTIVE. A stored value that is not a MarketplaceRole gives an error for this member only.
sellerFeeSellerFee
The fee on this member's sales: District's share, the store's share and their total. Null when the stored role is below SELLER. Requires the OWNER role or higher.
statusMemberStatus!
The membership status.
userUser!
The person's public profile.
viewerMemberViewerState!
The caller's relation to this member.

Returned by