Marketplace API / Types

User

Object

A District account's public profile.

type User implements Node

Fields

FieldTypeDescription
avatarImage
The user's avatar image.
createdAtDateTime!
When the user signed up.
descriptionString
The user's profile description. Null when the user has not written one.
displayNameString!
The user's preferred display name.
idID!
A globally unique ID. Treat this value as an opaque string.
itemsSoldCountNonNegativeInt!
Number of units that the user sold in this storefront: the sum of the item quantities of the user's paid orders. Cancelled orders, orders awaiting payment and fully refunded orders do not count.
joinedAtDateTime
When the user joined this storefront. Null when no join date is available.
lastOnlineAtDateTime
When the user was last active. Changes at most once every ten minutes. Null for an anonymous caller.
livestreamsUserLivestreamConnection!
Livestreams hosted by this user, with search, filters, sorting, facets, and pagination.Arguments:
after: String — Cursor for forward pagination. Mutually exclusive with offset.
facets: [LivestreamFacetRequestInput!] — Facets to compute for the matching livestreams.
first: Int — Maximum number of livestreams to return. Defaults to 20. Values above 100 are reduced to 100.
offset: Int — Zero-based offset for page-based pagination. Providing it with after is rejected. Only the first 10,000 matches can be paged; pages are shortened at the boundary, and offsets of 10,000 or more return an empty page.
query: String — Full-text search query matched against title and streamer name.
sort: LivestreamSortInput — Sort order for the result set. Defaults to ascending start time.
where: LivestreamSearchWhereInput — Filters to apply.
usernameString!
The user's username. Usernames can change and are not unique identifiers.
viewerUserViewerState
The caller's relation to this user. Null for a signed-out caller.

Returned by