Admin API / Types
Member
ObjectA 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 MemberFields
| Field | Type | Description |
|---|---|---|
history | MemberHistoryConnection | 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). |
joinedAt | DateTime! | When the person joined. For a person that banUser banned before they joined, the time of the ban. |
lastOnlineAt | DateTime | 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. |
permissions | MemberPermissions! | The chat and go-live permissions that the store staff set on this member. |
profileUrl | URL | 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. |
role | MarketplaceRole! | 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. |
sellerFee | SellerFee | 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. |
status | MemberStatus! | The membership status. |
user | User! | The person's public profile. |
viewer | MemberViewerState! | The caller's relation to this member. |