Admin API / Types
User
ObjectA District account's public profile. The profile is shared across marketplaces.
Requires a client key with one of these scopes:admin:account:readThe requirement applies to every field of User unless that field declares its own scopes.
type User implements NodeFields
| Field | Type | Description |
|---|---|---|
avatar | Image | The user's avatar image. Null when none is set. |
createdAt | DateTime! | When the user signed up. |
displayName | String | The user's preferred display name, or null when neither a name nor username is available. |
id | ID! | A globally unique ID. Treat this value as an opaque string. |
profileUrl | URL | The user's storefront profile page in this marketplace, on the marketplace'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 or no membership in this marketplace. |
username | String | The user's username, or null when none is set. Usernames can change and are not unique identifiers. |
Returned by
Announcement.authorAuction.winnerAuctionBid.bidderBanUserSuccess.userChatMessage.authorChatMessage.mentionedUsersCollectionRules.sellersDirectConversation.participantLivestream.hostLivestreamBuyer.userLivestreamModerator.addedByLivestreamModerator.userLivestreamStageAuction.winnerMember.userModerationReport.closedByModerationReport.reporterNegotiation.buyerNegotiation.sellerNotification.actorOrder.buyerOrder.sellerProduct.sellerProductCustomOrder.buyerProductVariantQuantityChange.actorQuery.userQuery.userByUsernameSellerApplication.applicantSellerSales.sellerShipment.buyerShipment.sellerShippingProfile.sellerViewer.userViewerAccess.actingForViewerBuyer.userViewerBuyerEdge.node