Admin API / Queries

userByUsername

Finds a user's public profile by username. The match ignores case, spaces and characters other than letters, digits and _. Null when no visible user has the username.

Requires a client key with one of these scopes: admin:account:readRequires this member role or higher: SELLER
userByUsername(
  username: NonEmptyString!
): User

Arguments

ArgumentTypeDescription
usernameNonEmptyString!The username to find.

Return type

User